[llvm-commits] CVS: llvm/lib/AsmParser/Lexer.l

Chris Lattner lattner at cs.uiuc.edu
Fri Nov 11 16:11:42 PST 2005



Changes in directory llvm/lib/AsmParser:

Lexer.l updated: 1.65 -> 1.66
---
Log message:

add a token


---
Diffs of the changes:  (+2 -1)

 Lexer.l |    3 ++-
 1 files changed, 2 insertions(+), 1 deletion(-)


Index: llvm/lib/AsmParser/Lexer.l
diff -u llvm/lib/AsmParser/Lexer.l:1.65 llvm/lib/AsmParser/Lexer.l:1.66
--- llvm/lib/AsmParser/Lexer.l:1.65	Sat Nov  5 03:21:28 2005
+++ llvm/lib/AsmParser/Lexer.l	Fri Nov 11 18:11:30 2005
@@ -210,6 +210,8 @@
 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 @@
 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); }






More information about the llvm-commits mailing list