Mercurial > projects > dil
diff trunk/src/dil/ast/Declarations.d @ 673:64fec49651cf
Renamed VariableDeclaration to VariablesDeclaration.
Removed TryCast and CastTo template functions.
Renamed Node.iS() to Node.Is().
author | Aziz K?ksal <aziz.koeksal@gmail.com> |
---|---|
date | Fri, 18 Jan 2008 16:44:20 +0100 |
parents | a1f8d8f2db38 |
children | 6b3e397229c5 |
line wrap: on
line diff
--- a/trunk/src/dil/ast/Declarations.d Fri Jan 18 00:30:14 2008 +0100 +++ b/trunk/src/dil/ast/Declarations.d Fri Jan 18 16:44:20 2008 +0100 @@ -357,7 +357,8 @@ } } -class VariableDeclaration : Declaration +/// VariablesDeclaration := Type? Identifier ("=" Init)? ("," Identifier ("=" Init)?)* ";" +class VariablesDeclaration : Declaration { TypeNode typeNode; Identifier*[] idents;