Fixed some problems with the logic of parsing line comments by adding
authorKevin Enderby <enderby@apple.com>
Wed, 16 Sep 2009 18:08:00 +0000 (18:08 +0000)
committerKevin Enderby <enderby@apple.com>
Wed, 16 Sep 2009 18:08:00 +0000 (18:08 +0000)
commitb5db83084073d74501f3e2a7684d28240a047b92
treee3d21cda45c1f0cf25678575362d3630eee25180
parent0d6cd00dbe58b456d0d33663e6a36c270aad2b5a
Fixed some problems with the logic of parsing line comments by adding
isAtStartOfComment and using that instead in two places where a loop
to check if the char was in MAI.getCommentString().

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82059 91177308-0d34-0410-b5e6-96231b3b80d8
tools/llvm-mc/AsmLexer.cpp
tools/llvm-mc/AsmLexer.h