mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-04-01 07:11:45 +00:00
Fix past-o.
llvm-svn: 118304
This commit is contained in:
parent
bbef2c5fcc
commit
dfa87da932
@ -903,7 +903,7 @@ bool ARMAsmParser::ParseDirectiveThumb(SMLoc L) {
|
||||
bool ARMAsmParser::ParseDirectiveThumbFunc(SMLoc L) {
|
||||
const AsmToken &Tok = Parser.getTok();
|
||||
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.
|
||||
|
||||
if (getLexer().isNot(AsmToken::EndOfStatement))
|
||||
|
Loading…
x
Reference in New Issue
Block a user