VirtualBox

Changeset 108065 in vbox for trunk


Ignore:
Timestamp:
Feb 5, 2025 11:32:32 AM (3 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
167345
Message:

Runtime/RTScriptLex*: Don't do any case conversion when parsing a literal string, bugreg:10733

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/script/scriptlex.cpp

    r108051 r108065  
    10601060        return RTScriptLexProduceTokError(hScriptLex, pTok, rc, "Lexer: Error adding character to string literal");
    10611061
    1062     ch = RTScriptLexGetCh(hScriptLex);
     1062    ch = RTScriptLexGetChEx(hScriptLex, RTSCRIPT_LEX_CONV_F_NOTHING);
    10631063    for (;;)
    10641064    {
     
    10811081        {
    10821082            /* Start of escape sequence. */
    1083             RTScriptLexConsumeCh(hScriptLex);
    1084             ch = RTScriptLexGetCh(hScriptLex);
     1083            RTScriptLexConsumeChEx(hScriptLex, RTSCRIPT_LEX_CONV_F_NOTHING);
     1084            ch = RTScriptLexGetChEx(hScriptLex, RTSCRIPT_LEX_CONV_F_NOTHING);
    10851085            switch (ch)
    10861086            {
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette