]> granicus.if.org Git - llvm/commit
Add .rc scripts tokenizer.
authorMarek Sokolowski <mnbvmar@gmail.com>
Thu, 10 Aug 2017 16:21:44 +0000 (16:21 +0000)
committerMarek Sokolowski <mnbvmar@gmail.com>
Thu, 10 Aug 2017 16:21:44 +0000 (16:21 +0000)
commit6c9cbed3f7f9004bfd919d33767cdea005093482
tree9de041221289ff39c7bb5e57744c8c569f8ec0a3
parent7b10f6e9190f4c508d7739b03fd5703086f97ecd
Add .rc scripts tokenizer.

This extends the shell of llvm-rc tool with the ability of tokenization
of the input files. Currently, ASCII and ASCII-compatible UTF-8 files
are supported.

Thanks to Nico Weber (thakis) for his original work in this area.

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@310621 91177308-0d34-0410-b5e6-96231b3b80d8
test/tools/llvm-rc/Inputs/tokens.rc [new file with mode: 0644]
test/tools/llvm-rc/tokenizer.test [new file with mode: 0644]
tools/llvm-rc/CMakeLists.txt
tools/llvm-rc/ResourceScriptToken.cpp [new file with mode: 0644]
tools/llvm-rc/ResourceScriptToken.h [new file with mode: 0644]
tools/llvm-rc/ResourceScriptTokenList.h [new file with mode: 0644]
tools/llvm-rc/llvm-rc.cpp