[PATCH] D20535: Ignore Lexing errors in macro body definitions
Nirav Dave via llvm-commits
llvm-commits at lists.llvm.org
Mon May 23 12:30:17 PDT 2016
niravd created this revision.
niravd added reviewers: rnk, majnemer.
niravd added a subscriber: llvm-commits.
Do not issue lexing errors found during the parsing of macro
body definitions and parseIdentifier function in AsmParser.
This causes us stop issuing a lexing error and a parsing error in
floating-literals test. Minor tweak to parseDirectiveRealValue to favor
more meaningful lexing error over less helpful parse error.
http://reviews.llvm.org/D20535
Files:
lib/MC/MCParser/AsmParser.cpp
test/MC/AsmParser/floating-literals.s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D20535.58132.patch
Type: text/x-patch
Size: 4587 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160523/5d81de07/attachment.bin>
More information about the llvm-commits
mailing list