Mercurial > projects > ddmd
diff dmd/Global.d @ 167:50a6d232176c
rewrite GlobalExpressions, moved DsymbolTable to Global, some cleanup
author | korDen |
---|---|
date | Thu, 30 Sep 2010 12:13:49 +0400 |
parents | d8565fbd755c |
children | ceed63f310fb |
line wrap: on
line diff
--- a/dmd/Global.d Thu Sep 30 10:30:15 2010 +0400 +++ b/dmd/Global.d Thu Sep 30 12:13:49 2010 +0400 @@ -4,6 +4,7 @@ import dmd.Array; import dmd.Param; import dmd.ClassDeclaration; +import dmd.DsymbolTable; class Global { @@ -49,9 +50,13 @@ ClassDeclaration object; ClassDeclaration classinfo; + // Used in FuncDeclaration.genCfunc() + DsymbolTable st; + this() { params.versionids = new Array(); + st = new DsymbolTable(); } }