projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
164c378
)
add a token
author
Chris Lattner
<sabre@nondot.org>
Sat, 12 Nov 2005 00:11:30 +0000
(
00:11
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Sat, 12 Nov 2005 00:11:30 +0000
(
00:11
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24315
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/AsmParser/Lexer.l
patch
|
blob
|
history
diff --git
a/lib/AsmParser/Lexer.l
b/lib/AsmParser/Lexer.l
index 2102a93cc29b9023ab12a44a566f4d3218c666b4..a753133a8e8a374b617e677f6157c7fc91e92bd9 100644
(file)
--- 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); }