Skip to content

Commit 51fe954

Browse files
Copilotjaccz
andcommitted
Fix special character handling with explicit backslash check
Co-authored-by: jaccz <[email protected]>
1 parent 3a3ebb3 commit 51fe954

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cli/ctokenizer.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -621,8 +621,8 @@ wstring ConstraintsTokenizer::getString( IN const wstring& terminator )
621621
movePosition( -1 );
622622
break;
623623
}
624-
// handle special characters
625-
else if ( TEXT_SpecialCharMarker == readChar )
624+
// handle special characters - ensure we only treat backslash as special
625+
else if ( readChar == L'\\' )
626626
{
627627
wchar_t nextChar = peekNextChar();
628628

0 commit comments

Comments
 (0)