OSDN Git Service

To avoid printing out multiple error messages for cases like:
authorEric Christopher <echristo@apple.com>
Tue, 12 Apr 2011 00:03:13 +0000 (00:03 +0000)
committerEric Christopher <echristo@apple.com>
Tue, 12 Apr 2011 00:03:13 +0000 (00:03 +0000)
commitf3755b2d0e7aa8e849f6ec6f95584cadb1412135
treecf91dcec3d18ec972086c35a2e96e9d4f2ec2986
parent560ab9ebf78532df11188770c916c4eb6dcce1b2
To avoid printing out multiple error messages for cases like:

.long 80+08

go ahead and assume that if we've got an Error token that we handled it
already. Otherwise if it's a token we can't handle then go ahead and
return the default error.

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