add string literals.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73858 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner
2009-06-21 19:56:35 +00:00
parent 4506bd2cfd
commit 10a907d70f
3 changed files with 35 additions and 2 deletions

View File

@@ -82,6 +82,9 @@ static int AssembleInput(const char *ProgName) {
case asmtok::Register:
outs() << "register: " << Lexer.getCurStrVal() << '\n';
break;
case asmtok::String:
outs() << "string: " << Lexer.getCurStrVal() << '\n';
break;
case asmtok::IntVal:
outs() << "int: " << Lexer.getCurIntVal() << '\n';
break;