summaryrefslogtreecommitdiff
path: root/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
commit87380cb0e0d6157b8845d59a50bc2ba94a38ebd1 (patch)
tree780bf96d9a1f6f9c4fabce429d9acd194e1300e7 /tools/llvm-mc/llvm-mc.cpp
parent0eebb0543f826d66865f9878702511713f065484 (diff)
downloadllvm-87380cb0e0d6157b8845d59a50bc2ba94a38ebd1.tar.gz
llvm-87380cb0e0d6157b8845d59a50bc2ba94a38ebd1.tar.bz2
llvm-87380cb0e0d6157b8845d59a50bc2ba94a38ebd1.tar.xz
add some of the new tokens, others are still missing.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74595 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvm-mc/llvm-mc.cpp')
-rw-r--r--tools/llvm-mc/llvm-mc.cpp27
1 files changed, 17 insertions, 10 deletions
diff --git a/tools/llvm-mc/llvm-mc.cpp b/tools/llvm-mc/llvm-mc.cpp
index e26d79d6c9..57a6ed1d81 100644
--- a/tools/llvm-mc/llvm-mc.cpp
+++ b/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();