diff options
author | Chris Lattner <sabre@nondot.org> | 2005-11-12 00:11:30 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-11-12 00:11:30 +0000 |
commit | b7d08a50f527aeb2b4203a74bbeecf294b27e5c1 (patch) | |
tree | 2ae779fa185d4fdab37d56ef50b28b8ada3c006c /lib | |
parent | 164c37804722a85fa302bbf69df115f4176a407c (diff) | |
download | external_llvm-b7d08a50f527aeb2b4203a74bbeecf294b27e5c1.zip external_llvm-b7d08a50f527aeb2b4203a74bbeecf294b27e5c1.tar.gz external_llvm-b7d08a50f527aeb2b4203a74bbeecf294b27e5c1.tar.bz2 |
add a token
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24315 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/AsmParser/Lexer.l | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/AsmParser/Lexer.l b/lib/AsmParser/Lexer.l index 2102a93..a753133 100644 --- a/lib/AsmParser/Lexer.l +++ b/lib/AsmParser/Lexer.l @@ -210,6 +210,8 @@ pointersize { return POINTERSIZE; } little { return LITTLE; } big { return BIG; } volatile { return VOLATILE; } +align { return ALIGN; } +section { return SECTION; } cc { return CC_TOK; } ccc { return CCC_TOK; } @@ -231,7 +233,6 @@ double { llvmAsmlval.PrimType = Type::DoubleTy; return DOUBLE; } label { llvmAsmlval.PrimType = Type::LabelTy ; return LABEL; } type { return TYPE; } opaque { return OPAQUE; } -align { return ALIGN; } add { RET_TOK(BinaryOpVal, Add, ADD); } sub { RET_TOK(BinaryOpVal, Sub, SUB); } |