[PATCH] D38651: [llvm-rc] Have the tokenizer discard comments

Zachary Turner via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 6 15:54:43 PDT 2017


zturner created this revision.

A user reported that `llvm-rc` did not work correctly when there were comments in the file.  This patch aims to fix that.


https://reviews.llvm.org/D38651

Files:
  llvm/test/tools/llvm-rc/Inputs/tokens.rc
  llvm/test/tools/llvm-rc/tokenizer.test
  llvm/tools/llvm-rc/ResourceScriptToken.cpp
  llvm/tools/llvm-rc/ResourceScriptTokenList.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D38651.118102.patch
Type: text/x-patch
Size: 4677 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171006/907e909f/attachment.bin>


More information about the llvm-commits mailing list