diff dmd/CompoundStatement.d @ 174:af724d3510d7

lot os toCBuffer methods implemented moved shared Type.* stuff into Global
author korDen
date Sun, 10 Oct 2010 03:47:23 +0400
parents 50a6d232176c
children 1475fd394c9e
line wrap: on
line diff
--- a/dmd/CompoundStatement.d	Sun Oct 10 01:55:35 2010 +0400
+++ b/dmd/CompoundStatement.d	Sun Oct 10 03:47:23 2010 +0400
@@ -66,8 +66,10 @@
 	{
 		foreach (s; statements)
 		{
-			if (s)
+			if (s) {
+				s.toChars();
 				s.toCBuffer(buf, hgs);
+			}
 		}
 	}
 	
@@ -369,6 +371,7 @@
 			{
 				if (s !is null)
 				{
+					//writeln(s.classinfo.name);
 					s.toIR(irs);
 				}
 			}