1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 19:12:56 +02:00
llvm-mirror/lib/MC/MCParser
Nirav Dave 885478f2ad Ignore Lexing errors in macro body definitions
Do not issue lexing errors found during the parsing of macro body
definitions and parseIdentifier function in AsmParser. This changes the
Parser to not issue a lexing error when we reach an error, but rather
when it is consumed allowing us time to examine and recover from an
error.

As a result, of this, we stop issuing a both 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.

Reviewers: rnk, majnemer

Subscribers: llvm-commits

Differential Revision: http://reviews.llvm.org/D20535

llvm-svn: 271542
2016-06-02 17:15:05 +00:00
..
AsmLexer.cpp Ignore Lexing errors in macro body definitions 2016-06-02 17:15:05 +00:00
AsmParser.cpp Ignore Lexing errors in macro body definitions 2016-06-02 17:15:05 +00:00
CMakeLists.txt Fix header path in CMake. NFC. 2015-06-19 20:49:02 +00:00
COFFAsmParser.cpp Move MCTargetAsmParser.h to llvm/MC/MCParser where it belongs. 2016-01-27 10:01:28 +00:00
DarwinAsmParser.cpp ARM: put extern __thread stubs in a special section. 2016-04-25 21:12:04 +00:00
ELFAsmParser.cpp [ELF][gcc compatibility]: support section names with special characters (e.g. "/") 2016-03-22 11:23:15 +00:00
LLVMBuild.txt
MCAsmLexer.cpp Ignore Lexing errors in macro body definitions 2016-06-02 17:15:05 +00:00
MCAsmParser.cpp Annotate dump() methods with LLVM_DUMP_METHOD, addressing Richard Smith r259192 post commit comment. 2016-01-29 20:50:44 +00:00
MCAsmParserExtension.cpp
MCTargetAsmParser.cpp Move MCTargetAsmParser.h to llvm/MC/MCParser where it belongs. 2016-01-27 10:01:28 +00:00