AsmParser: Parse (and ignore) nested .macro definitions.
authorBenjamin Kramer <benny.kra@googlemail.com>
Sun, 9 Feb 2014 16:22:00 +0000 (16:22 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Sun, 9 Feb 2014 16:22:00 +0000 (16:22 +0000)
commit275f65330731378c7cca967c19fb988038064235
tree2f547007f3036aaef7fd51f1dcbb265d3f294394
parent965e3bc5ff578d9b5af706237c20c7bc2c66aacc
AsmParser: Parse (and ignore) nested .macro definitions.

This enables a slightly odd feature of gas. The macro is defined when
the outermost macro is instantiated.

PR18599

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@201045 91177308-0d34-0410-b5e6-96231b3b80d8
lib/MC/MCParser/AsmParser.cpp
test/MC/AsmParser/macro-def-in-instantiation.s