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

LLVM llvm at cs.uiuc.edu
Sun Jul 4 07:19:01 PDT 2004


Changes in directory llvm/lib/AsmParser:

Lexer.l updated: 1.49 -> 1.50

---
Log message:

Remove use of Type::TypeTy which is no longer defined. This change needed
for bug 122: http://llvm.cs.uiuc.edu/PR122  since the "Type Type" concept is gone now.


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

Index: llvm/lib/AsmParser/Lexer.l
diff -u llvm/lib/AsmParser/Lexer.l:1.49 llvm/lib/AsmParser/Lexer.l:1.50
--- llvm/lib/AsmParser/Lexer.l:1.49	Thu May 27 12:49:14 2004
+++ llvm/lib/AsmParser/Lexer.l	Sun Jul  4 07:17:44 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