MC asm parser macro argument count was wrong when empty.
authorJim Grosbach <grosbach@apple.com>
Sat, 17 Mar 2012 00:11:42 +0000 (00:11 +0000)
committerJim Grosbach <grosbach@apple.com>
Sat, 17 Mar 2012 00:11:42 +0000 (00:11 +0000)
commitae151ed87d4100ec352fee8fc70e2c8c26281c69
tree1a40b2c9b27f821c014712af989ff8c06c503f9f
parent5aeff3171c173dec9a6e6f89e428a0a78698c43e
MC asm parser macro argument count was wrong when empty.

 evaluated to '1' when the argument list was empty (should be '0').

rdar://11057257

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