MC assembly parser handling for trailing comma in macro instantiation.
authorJim Grosbach <grosbach@apple.com>
Mon, 16 Apr 2012 21:18:49 +0000 (21:18 +0000)
committerJim Grosbach <grosbach@apple.com>
Mon, 16 Apr 2012 21:18:49 +0000 (21:18 +0000)
commit68f89a61587e8d482347cf892c2670a869a1ad61
treeca95dcba7483a48c62b08caf66cdacb611271833
parentb8768dc32df0bf3edfa2777cdef57bb066e54344
MC assembly parser handling for trailing comma in macro instantiation.

A trailing comma means no argument at all (i.e., as if the comma were not
present), not an empty argument to the invokee.

rdar://11252521

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