You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using \" is disallowed as a way to escape " in resinator and gives the error message:
test.rc:1:13: error: escaping quotes with \" is not allowed (use "" instead)
1 RCDATA { "\"" }
^~
However, if the \" is at the end of a string literal, then it's likely that the user is trying to insert a literal \ into the string, in which case the error message should look something like this:
test.rc:1:13: error: the escape sequence \" is not allowed (use \\ to escape \, or "" to escape ")
1 RCDATA { "\" }
^~
Note that in the Win32 RC compiler, "\" is seen as valid and does parse into \, but we still want to disallow this for preprocessor/compiler confusion reasons (the same reasons as disallowing \" with regards to ")
The text was updated successfully, but these errors were encountered:
Using
\"
is disallowed as a way to escape"
in resinator and gives the error message:However, if the
\"
is at the end of a string literal, then it's likely that the user is trying to insert a literal\
into the string, in which case the error message should look something like this:Note that in the Win32 RC compiler,
"\"
is seen as valid and does parse into\
, but we still want to disallow this for preprocessor/compiler confusion reasons (the same reasons as disallowing\"
with regards to"
)The text was updated successfully, but these errors were encountered: