ARM IAS: fix diagnostics of improper qualification
authorSaleem Abdulrasool <compnerd@compnerd.org>
Sun, 12 Jan 2014 05:25:44 +0000 (05:25 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Sun, 12 Jan 2014 05:25:44 +0000 (05:25 +0000)
commit3d83eb48ac55f20e16997e210a59486f3717402a
treecf2d990e832f9e65674def9cd3e1658d0c57b627
parentfcb6800dd4f28ccf0ca37f228b65f8c7a7f4bd08
ARM IAS: fix diagnostics of improper qualification

An improper qualifier would result in a superfluous error due to the parser not
consuming the remainder of the statement.  Simply consume the remainder of the
statement to avoid the error.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@199035 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/AsmParser/ARMAsmParser.cpp
test/MC/ARM/arm-qualifier-diagnostics.s [new file with mode: 0644]