mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
AsmParser: Give a nice error message for .code16gcc, which is currently unsupported.
Patch by Team PaX! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@156708 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e14a3c5084
commit
5cdf0add9e
@ -1257,7 +1257,7 @@ bool AsmParser::ParseStatement() {
|
||||
if (IDVal == ".incbin")
|
||||
return ParseDirectiveIncbin();
|
||||
|
||||
if (IDVal == ".code16")
|
||||
if (IDVal == ".code16" || IDVal == ".code16gcc")
|
||||
return TokError(Twine(IDVal) + " not supported yet");
|
||||
|
||||
// Look up the handler in the handler table.
|
||||
|
Loading…
Reference in New Issue
Block a user