Enhance unmatched '.endr' directive error message in assembler.
authorPreston Gurd <preston.gurd@intel.com>
Wed, 19 Sep 2012 20:23:43 +0000 (20:23 +0000)
committerPreston Gurd <preston.gurd@intel.com>
Wed, 19 Sep 2012 20:23:43 +0000 (20:23 +0000)
commit6579eea90dfeb7540e37307cc30c8677759c5e4d
tree4a898ee1b1d23e95687fb28013a1b2a074da267a
parentcd9ede9fc00be3f13e6f450b63419ed80f225d48
Enhance unmatched '.endr' directive error message in assembler.
The directive can be matched with directives other than '.rept'

Patch by Andy Zhang!

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