MCAsmParser: relax declaration parsing
authorSaleem Abdulrasool <compnerd@compnerd.org>
Sun, 16 Feb 2014 04:56:31 +0000 (04:56 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Sun, 16 Feb 2014 04:56:31 +0000 (04:56 +0000)
commit27304cb1892b9a745451f4a09f06ff195a7ae4db
tree4b2fcde693cb975f402ef5e86f4edab02c484508
parentff8e5f2587145bdd2f4194ab0472889933ee4fb0
MCAsmParser: relax declaration parsing

The Linux kernel defines empty macros for compatibility with ARM UAL syntax.
The comma after the name is optional, and if present can be safely lexed.  This
improves compatibility with the GNU assembler.

llvm-svn: 201474
llvm/lib/MC/MCParser/AsmParser.cpp
llvm/test/MC/AsmParser/macros-argument-parsing.s [new file with mode: 0644]