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)
commit5a39da0a6fbef90d697054c6075bf5e3ef708c9d
treead0f5b1c5b494b60f0f211342c0ec2d18e9f3376
parent1edea19210df055ad24dfd18c23973c3668ac738
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@201474 91177308-0d34-0410-b5e6-96231b3b80d8
lib/MC/MCParser/AsmParser.cpp
test/MC/AsmParser/macros-argument-parsing.s [new file with mode: 0644]