resinator
resinator copied to clipboard
Divergence from Win32 RC: Forward slash on its own line
For some reason, this is valid, as all the / characters are ignored:
/
1 RCDATA {}
/
/
/
2 RCDATA {
/
/
}
In fact, all of the / are removed during preprocessing:
rc /p test.rc
#line 1 "C:\\Users\\Ryan\\Programming\\Zig\\resinator\\tmp\\RCa15696"
#line 1 "test.rc"
#line 1 "test.rc"
1 RCDATA {}
2 RCDATA {
}
This is not the behavior for the Aro, clang, or even cl.exe preprocessors, so this is a rc.exe-specific quirk.
Currently, resinator does not emulate this behavior and instead treats it as any other character.