Mercurial > projects > dil
diff trunk/src/Parser.d @ 301:caef255a2801
- Fix in some ctors: adding only non-null members to this.children.
author | aziz |
---|---|
date | Sat, 11 Aug 2007 17:30:02 +0000 |
parents | 559d5d62e0c1 |
children | d04a79e795a2 |
line wrap: on
line diff
--- a/trunk/src/Parser.d Fri Aug 10 11:21:05 2007 +0000 +++ b/trunk/src/Parser.d Sat Aug 11 17:30:02 2007 +0000 @@ -1440,6 +1440,7 @@ nT(); // Skip mixin keyword. static if (is(Class == MixinDeclaration)) + { if (token.type == T.LParen) { // TODO: What about mixin(...).ident;? @@ -1449,6 +1450,7 @@ require(T.Semicolon); return new MixinDeclaration(e); } + } Expression[] templateIdent; Token* mixinIdent;