mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
Fix past-o.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118304 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
ce79299f78
commit
83c4018fcc
@ -903,7 +903,7 @@ bool ARMAsmParser::ParseDirectiveThumb(SMLoc L) {
|
|||||||
bool ARMAsmParser::ParseDirectiveThumbFunc(SMLoc L) {
|
bool ARMAsmParser::ParseDirectiveThumbFunc(SMLoc L) {
|
||||||
const AsmToken &Tok = Parser.getTok();
|
const AsmToken &Tok = Parser.getTok();
|
||||||
if (Tok.isNot(AsmToken::Identifier) && Tok.isNot(AsmToken::String))
|
if (Tok.isNot(AsmToken::Identifier) && Tok.isNot(AsmToken::String))
|
||||||
return Error(L, "unexpected token in .syntax directive");
|
return Error(L, "unexpected token in .thumb_func directive");
|
||||||
Parser.Lex(); // Consume the identifier token.
|
Parser.Lex(); // Consume the identifier token.
|
||||||
|
|
||||||
if (getLexer().isNot(AsmToken::EndOfStatement))
|
if (getLexer().isNot(AsmToken::EndOfStatement))
|
||||||
|
Loading…
Reference in New Issue
Block a user