Mercurial > projects > dil
diff trunk/src/dil/parser/ImportParser.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 | 5fa1886d6aaf |
children | ff6971637f88 |
line wrap: on
line diff
--- a/trunk/src/dil/parser/ImportParser.d Fri Jan 18 00:30:14 2008 +0100 +++ b/trunk/src/dil/parser/ImportParser.d Fri Jan 18 16:44:20 2008 +0100 @@ -197,7 +197,7 @@ case_Import: auto decl = parseImportDeclaration(); decl.setProtection(prot); // Set the protection attribute. - imports ~= CastTo!(ImportDeclaration)(decl); + imports ~= decl.to!(ImportDeclaration); break; case T.Enum: nT();