llvm-6502/lib/MC/MCParser
Toma Tabacu e39f000353 [mips] [IAS] Fix parsing of memory offset expressions with parenthesis depth >1.
Summary:
In an expression such as "(((a+b)+c)+d)", parseParenExpression() would only parse the "a+b)+c", which would result in an error later on in the parser.
This means that we can only parse one level of inner parentheses.

In order to fix this, I added a new function called parseParenExprOfDepth(), which parses a specified number of trailing parenthesis expressions
(except for the outermost parenthesis), and changed MipsAsmParser to use it in parseMemOffset instead of parseParenExpression().

Reviewers: dsanders, rafael

Reviewed By: dsanders, rafael

Subscribers: llvm-commits

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@240625 91177308-0d34-0410-b5e6-96231b3b80d8
2015-06-25 09:52:02 +00:00
..
AsmLexer.cpp Fix uses of reserved identifiers starting with an underscore followed by an uppercase letter 2015-03-16 18:06:57 +00:00
AsmParser.cpp [mips] [IAS] Fix parsing of memory offset expressions with parenthesis depth >1. 2015-06-25 09:52:02 +00:00
CMakeLists.txt Fix header path in CMake. NFC. 2015-06-19 20:49:02 +00:00
COFFAsmParser.cpp Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
DarwinAsmParser.cpp MC: Clean up method names in MCContext. 2015-05-18 18:43:14 +00:00
ELFAsmParser.cpp Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
LLVMBuild.txt
Makefile
MCAsmLexer.cpp [mips] Print warning when using register names not available in N32/64 2014-10-03 15:37:37 +00:00
MCAsmParser.cpp Add const. NFC. 2014-11-11 05:11:47 +00:00
MCAsmParserExtension.cpp
MCTargetAsmParser.cpp