MC: do not add comment string to the AsmToken in AsmLexer::LexLineComment
authorSaleem Abdulrasool <compnerd@compnerd.org>
Wed, 18 Jun 2014 20:57:32 +0000 (20:57 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Wed, 18 Jun 2014 20:57:32 +0000 (20:57 +0000)
commit889069443b66c07d698a6813e22d2498a30c749f
tree3c2266f780c89ee54a0b09d2df88e51d1a343af6
parent791ff5af548986d9ba11f6847421c4478a85f4c7
MC: do not add comment string to the AsmToken in AsmLexer::LexLineComment

Fixes macros with varargs if the macro instantiation has a trailing comment.

Patch by Janne Grunau!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211219 91177308-0d34-0410-b5e6-96231b3b80d8
lib/MC/MCParser/AsmLexer.cpp
test/MC/AsmParser/vararg.s