llvm-project
c4d2c30c - [llvm-rc] Allow '+' in identifiers (#247298)

Commit
1 day ago
[llvm-rc] Allow '+' in identifiers (#247298) Unquoted resource names and filenames in Windows resource scripts can now contain '+' characters (for example, "libc++.dll" in user-defined resources). Microsoft rc.exe accepts '+' within unquoted resource identifiers. Previously, Tokenizer::canContinueIdentifier() did not handle '+', splitting "libc++.dll" into "libc", '+', '+', ".dll" and failing with "expected int or identifier, got +". Allow '+' in Tokenizer::canContinueIdentifier(), matching how '-' and '/' are already handled. Assisted-by: Antigravity, especially for tests and review
Author
Parents
Loading