Skip to content

Divergence from Win32 RC: Forward slash on its own line #14

Description

@squeek502

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions