summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-mc/llvm-mc.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-07-01 06:36:49 +0000
committerChris Lattner <sabre@nondot.org>2009-07-01 06:36:49 +0000
commite4dfc896158c6f253d142e02753fa76ed1029e09 (patch)
tree6c90069789fbefec45653cd2e2c272d9d4e75fd4 /llvm/tools/llvm-mc/llvm-mc.cpp
parentfc3584107713a2f866e3a4f888c71eb9a74606ad (diff)
downloadbcm5719-llvm-e4dfc896158c6f253d142e02753fa76ed1029e09.tar.gz
bcm5719-llvm-e4dfc896158c6f253d142e02753fa76ed1029e09.zip
add some of the new tokens, others are still missing.
llvm-svn: 74595
Diffstat (limited to 'llvm/tools/llvm-mc/llvm-mc.cpp')
-rw-r--r--llvm/tools/llvm-mc/llvm-mc.cpp27
1 files changed, 17 insertions, 10 deletions
diff --git a/llvm/tools/llvm-mc/llvm-mc.cpp b/llvm/tools/llvm-mc/llvm-mc.cpp
index e26d79d6c90..57a6ed1d813 100644
--- a/llvm/tools/llvm-mc/llvm-mc.cpp
+++ b/llvm/tools/llvm-mc/llvm-mc.cpp
@@ -99,16 +99,23 @@ static int AsLexInput(const char *ProgName) {
outs() << "int: " << Lexer.getCurIntVal() << '\n';
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::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::AmpAmp: outs() << "AmpAmp\n"; break;
}
Tok = Lexer.Lex();
OpenPOWER on IntegriCloud