Mercurial > projects > dil
diff trunk/src/Declarations.d @ 151:2e959f67000b
- Added code for parsing mixin expression declarations.
author | aziz |
---|---|
date | Thu, 12 Jul 2007 19:18:02 +0000 |
parents | 753bc07bf3a0 |
children | 759f437313f9 |
line wrap: on
line diff
--- a/trunk/src/Declarations.d Thu Jul 12 18:06:02 2007 +0000 +++ b/trunk/src/Declarations.d Thu Jul 12 19:18:02 2007 +0000 @@ -353,10 +353,16 @@ { Expression[] templateIdent; string mixinIdent; + Expression assignExpr; // mixin ( AssignExpression ) this(Expression[] templateIdent, string mixinIdent) { super(false); this.templateIdent = templateIdent; this.mixinIdent = mixinIdent; } + this(Expression assignExpr) + { + super(false); + this.assignExpr = assignExpr; + } }