1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 19:42:54 +02:00
llvm-mirror/test/tools/llvm-rc
Zachary Turner acd37087f2 [llvm-rc] Implement escape sequences in .rc files.
This allows the escape sequences (\a, \n, \r, \t, \\, \x[0-9a-f]*,
\[0-7]*, "") to appear in .rc scripts. These are parsed and output in
the same way as it's done in original MS implementation.

The way these sequences are processed depends on the type of the
resource it resides in, and on whether the user declared the string to
be "wide" or "narrow".

I tried to maintain the maximum compatibility with the original tool
(and fail in some erroneous situations that are accepted by .rc).
However, there are some (extremely rare) cases where Microsoft tool
outputs nonsense. I found it infeasible to detect such casses.

Patch by Marek Sokolowski

Differential Revision: https://reviews.llvm.org/D38426

llvm-svn: 315118
2017-10-06 22:05:15 +00:00
..
Inputs [llvm-rc] Implement escape sequences in .rc files. 2017-10-06 22:05:15 +00:00
helpmsg.test [llvm-rc] Serialize HTML resources to .res files (serialization, pt 1). 2017-09-29 17:14:09 +00:00
parser-expr.test [llvm-rc] Serialize HTML resources to .res files (serialization, pt 1). 2017-09-29 17:14:09 +00:00
parser.test [llvm-rc] Serialize VERSIONINFO resources to .res files. 2017-10-06 21:26:06 +00:00
tag-accelerators.test [llvm-rc] Serialize ACCELERATORS to .res files (serialization, pt 2). 2017-09-29 19:07:44 +00:00
tag-dialog.test [llvm-rc] Add optional serialization support for DIALOG(EX) resources. 2017-10-06 20:51:20 +00:00
tag-escape.test [llvm-rc] Implement escape sequences in .rc files. 2017-10-06 22:05:15 +00:00
tag-html.test [llvm-rc] Serialize HTML resources to .res files (serialization, pt 1). 2017-09-29 17:14:09 +00:00
tag-icon-cursor.test [llvm-rc] Serialize CURSOR and ICON resources to .res 2017-10-06 21:25:44 +00:00
tag-menu.test [llvm-rc] Serialize MENU resources to .res files (serialization, pt 3). 2017-09-29 22:25:05 +00:00
tag-stringtable.test [llvm-rc] Serialize STRINGTABLE statements to .res file. 2017-10-06 21:30:55 +00:00
tag-user.test [llvm-rc] Serialize user-defined resources to .res files. 2017-10-06 21:52:15 +00:00
tag-versioninfo.test [llvm-rc] Serialize VERSIONINFO resources to .res files. 2017-10-06 21:26:06 +00:00
tokenizer.test Reapply: [llvm-rc] Add basic RC scripts parsing ability. 2017-08-18 18:24:17 +00:00