diff trunk/src/Expressions.d @ 243:461e544ebb53

- Added method requireId(). - In parseUnaryExpression(): moved nT() out of some case blocks because it's common. Only two cases have to skip nT() with a goto. - Changed type of member ident of TypeDotIdExpression to Token*.
author aziz
date Wed, 01 Aug 2007 11:12:00 +0000
parents 7ec7ad8df9da
children 63a15b082c0c
line wrap: on
line diff
--- a/trunk/src/Expressions.d	Wed Aug 01 10:12:01 2007 +0000
+++ b/trunk/src/Expressions.d	Wed Aug 01 11:12:00 2007 +0000
@@ -569,8 +569,8 @@
 class TypeDotIdExpression : Expression
 {
   Type type;
-  string ident;
-  this(Type type, string ident)
+  Token* ident;
+  this(Type type, Token* ident)
   {
     this.type = type;
     this.ident = ident;