mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-10-02 21:17:17 +00:00
Enumerate .code16/32/64 instead of checking .code prefix. This
unbreaks some ARM tests. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@124608 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1065,7 +1065,7 @@ bool AsmParser::ParseStatement() {
|
|||||||
if (IDVal == ".include")
|
if (IDVal == ".include")
|
||||||
return ParseDirectiveInclude();
|
return ParseDirectiveInclude();
|
||||||
|
|
||||||
if (IDVal.startswith(".code"))
|
if (IDVal == ".code16" || IDVal == ".code32" || IDVal == ".code64")
|
||||||
return TokError(Twine(IDVal) + " not supported yet");
|
return TokError(Twine(IDVal) + " not supported yet");
|
||||||
|
|
||||||
// Look up the handler in the handler table.
|
// Look up the handler in the handler table.
|
||||||
|
Reference in New Issue
Block a user