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

LLVM llvm at cs.uiuc.edu
Sun May 16 19:06:01 PDT 2004


Changes in directory llvm/lib/AsmParser:

Lexer.l updated: 1.48 -> 1.48.2.1

---
Log message:

Don't include "Type" as a primitive type any more.


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

Index: llvm/lib/AsmParser/Lexer.l
diff -u llvm/lib/AsmParser/Lexer.l:1.48 llvm/lib/AsmParser/Lexer.l:1.48.2.1
--- llvm/lib/AsmParser/Lexer.l:1.48	Tue Mar 30 21:48:33 2004
+++ llvm/lib/AsmParser/Lexer.l	Sun May 16 19:06:31 2004
@@ -212,8 +212,8 @@
 ulong           { llvmAsmlval.PrimType = Type::ULongTy ; return ULONG;  }
 float           { llvmAsmlval.PrimType = Type::FloatTy ; return FLOAT;  }
 double          { llvmAsmlval.PrimType = Type::DoubleTy; return DOUBLE; }
-type            { llvmAsmlval.PrimType = Type::TypeTy  ; return TYPE;   }
 label           { llvmAsmlval.PrimType = Type::LabelTy ; return LABEL;  }
+type            { return TYPE;   }
 opaque          { return OPAQUE; }
 
 add             { RET_TOK(BinaryOpVal, Add, ADD); }





More information about the llvm-commits mailing list