Mercurial > projects > dil
diff trunk/src/dil/ast/Visitor.d @ 667:1ac758cd952a
Fixed a few things in DefaultVisitor.d and Pass1.d
Returning parameter node in visit() methods in module Visitor.
Added member type to TypeNode class.
author | Aziz K?ksal <aziz.koeksal@gmail.com> |
---|---|
date | Thu, 17 Jan 2008 00:21:16 +0100 |
parents | 0acc43b86bf2 |
children | ca7607226caa |
line wrap: on
line diff
--- a/trunk/src/dil/ast/Visitor.d Wed Jan 16 21:42:21 2008 +0100 +++ b/trunk/src/dil/ast/Visitor.d Thu Jan 17 00:21:16 2008 +0100 @@ -21,7 +21,7 @@ { char[] text; foreach (className; classNames) - text ~= "returnType!(\""~className~"\") visit("~className~"){return null;}\n"; + text ~= "returnType!(\""~className~"\") visit("~className~" node){return node;}\n"; return text; } // pragma(msg, generateAbstractVisitMethods());