mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 18:54:02 +01:00
ea4f7bb1a3
This matches what MS rc.exe allows in practice. I'm not aware of any legal syntax case that are broken by allowing dashes as part of what the tokenizer considers an Identifier - but I'm not very well versed in the RC syntax either, can @amccarth think of any case that would be broken by this? This fixes downstream bug https://github.com/msys2/MINGW-packages/issues/9180. Additionally, rc.exe allows such resource name strings to be surrounded by quotes, ending up with e.g. Resource name (string): "QUOTEDNAME" (i.e., the quotes end up as part of the string), which llvm-rc doesn't support yet either. (I'm not aware of such cases in the wild though, but resource string names with dashes do exist.) This also allows including files with unquoted paths, with filenames containing dashes (which fixes https://github.com/msys2/MINGW-packages/issues/9130, which has been worked around differently so far). Differential Revision: https://reviews.llvm.org/D106598 |
||
---|---|---|
.. | ||
Inputs | ||
absolute.test | ||
codepage.test | ||
cpp-output.test | ||
flags.test | ||
helpmsg.test | ||
include-paths.test | ||
inline-manifest.test | ||
language.test | ||
memoryflags-stringtable.test | ||
memoryflags.test | ||
not-expr.test | ||
parser-expr.test | ||
parser.test | ||
preproc.test | ||
resname-string.test | ||
tag-accelerators.test | ||
tag-dialog.test | ||
tag-escape.test | ||
tag-html.test | ||
tag-icon-cursor.test | ||
tag-menu.test | ||
tag-stringtable.test | ||
tag-user.test | ||
tag-versioninfo.test | ||
tokenizer.test | ||
versioninfo-padding.test | ||
windres-format.test | ||
windres-prefix.test | ||
windres-preproc.test | ||
windres-target.test | ||
windres-version.test |