mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
llvm-mc: Fill in the rest of tokens for 'as-lex' mode.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74598 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
91aef8ba97
commit
165e8344d8
@ -98,24 +98,36 @@ static int AsLexInput(const char *ProgName) {
|
|||||||
case asmtok::IntVal:
|
case asmtok::IntVal:
|
||||||
outs() << "int: " << Lexer.getCurIntVal() << '\n';
|
outs() << "int: " << Lexer.getCurIntVal() << '\n';
|
||||||
break;
|
break;
|
||||||
case asmtok::EndOfStatement: outs() << "EndOfStatement\n"; break;
|
|
||||||
case asmtok::Colon: outs() << "Colon\n"; break;
|
|
||||||
case asmtok::Plus: outs() << "Plus\n"; break;
|
|
||||||
case asmtok::Minus: outs() << "Minus\n"; break;
|
|
||||||
case asmtok::Tilde: outs() << "Tilde\n"; break;
|
|
||||||
case asmtok::Slash: outs() << "Slash\n"; break;
|
|
||||||
case asmtok::LParen: outs() << "LParen\n"; break;
|
|
||||||
case asmtok::RParen: outs() << "RParen\n"; break;
|
|
||||||
case asmtok::Star: outs() << "Star\n"; break;
|
|
||||||
case asmtok::Comma: outs() << "Comma\n"; break;
|
|
||||||
case asmtok::Dollar: outs() << "Dollar\n"; break;
|
|
||||||
case asmtok::Equal: outs() << "Equal\n"; break;
|
|
||||||
case asmtok::EqualEqual: outs() << "EqualEqual\n"; break;
|
|
||||||
case asmtok::Pipe: outs() << "Pipe\n"; break;
|
|
||||||
case asmtok::PipePipe: outs() << "PipePipe\n"; break;
|
|
||||||
case asmtok::Caret: outs() << "Caret\n"; break;
|
|
||||||
case asmtok::Amp: outs() << "Amp\n"; break;
|
case asmtok::Amp: outs() << "Amp\n"; break;
|
||||||
case asmtok::AmpAmp: outs() << "AmpAmp\n"; break;
|
case asmtok::AmpAmp: outs() << "AmpAmp\n"; break;
|
||||||
|
case asmtok::Caret: outs() << "Caret\n"; break;
|
||||||
|
case asmtok::Colon: outs() << "Colon\n"; break;
|
||||||
|
case asmtok::Comma: outs() << "Comma\n"; break;
|
||||||
|
case asmtok::Dollar: outs() << "Dollar\n"; break;
|
||||||
|
case asmtok::EndOfStatement: outs() << "EndOfStatement\n"; break;
|
||||||
|
case asmtok::Eof: outs() << "Eof\n"; break;
|
||||||
|
case asmtok::Equal: outs() << "Equal\n"; break;
|
||||||
|
case asmtok::EqualEqual: outs() << "EqualEqual\n"; break;
|
||||||
|
case asmtok::Exclaim: outs() << "Exclaim\n"; break;
|
||||||
|
case asmtok::ExclaimEqual: outs() << "ExclaimEqual\n"; break;
|
||||||
|
case asmtok::Greater: outs() << "Greater\n"; break;
|
||||||
|
case asmtok::GreaterEqual: outs() << "GreaterEqual\n"; break;
|
||||||
|
case asmtok::GreaterGreater: outs() << "GreaterGreater\n"; break;
|
||||||
|
case asmtok::LParen: outs() << "LParen\n"; break;
|
||||||
|
case asmtok::Less: outs() << "Less\n"; break;
|
||||||
|
case asmtok::LessEqual: outs() << "LessEqual\n"; break;
|
||||||
|
case asmtok::LessGreater: outs() << "LessGreater\n"; break;
|
||||||
|
case asmtok::LessLess: outs() << "LessLess\n"; break;
|
||||||
|
case asmtok::Minus: outs() << "Minus\n"; break;
|
||||||
|
case asmtok::Percent: outs() << "Percent\n"; break;
|
||||||
|
case asmtok::Pipe: outs() << "Pipe\n"; break;
|
||||||
|
case asmtok::PipePipe: outs() << "PipePipe\n"; break;
|
||||||
|
case asmtok::Plus: outs() << "Plus\n"; break;
|
||||||
|
case asmtok::RParen: outs() << "RParen\n"; break;
|
||||||
|
case asmtok::Slash: outs() << "Slash\n"; break;
|
||||||
|
case asmtok::Star: outs() << "Star\n"; break;
|
||||||
|
case asmtok::Tilde: outs() << "Tilde\n"; break;
|
||||||
}
|
}
|
||||||
|
|
||||||
Tok = Lexer.Lex();
|
Tok = Lexer.Lex();
|
||||||
|
Loading…
Reference in New Issue
Block a user