diff dmd/AnonDeclaration.d @ 169:e7769d53e750

Moves static variables from Module to Global
author korDen
date Thu, 30 Sep 2010 13:29:54 +0400
parents e28b18c23469
children e3afd1303184
line wrap: on
line diff
--- a/dmd/AnonDeclaration.d	Thu Sep 30 12:57:13 2010 +0400
+++ b/dmd/AnonDeclaration.d	Thu Sep 30 13:29:54 2010 +0400
@@ -13,6 +13,7 @@
 import dmd.STC;
 import dmd.Module;
 import dmd.VarDeclaration;
+import dmd.Global;
 
 class AnonDeclaration : AttribDeclaration
 {
@@ -110,7 +111,7 @@
 			}
 			if (sem == 0)
 			{   
-				Module.dprogress++;
+				global.dprogress++;
 				sem = 1;
 				//printf("\tcompleted %p\n", this);
 			}