diff dmd/statement.c @ 1367:8026319762be

Merged DMD 1.045 !!!
author Tomas Lindquist Olsen <tomas.l.olsen gmail com>
date Sat, 16 May 2009 22:21:31 +0200
parents 78038e540342
children 17268b0a3ab0
line wrap: on
line diff
--- a/dmd/statement.c	Sat May 16 18:37:16 2009 +0200
+++ b/dmd/statement.c	Sat May 16 22:21:31 2009 +0200
@@ -1128,7 +1128,8 @@
 
     sc->sbreak = this;
     sc->scontinue = this;
-    body = body->semantic(sc);
+    if (body)
+	body = body->semantic(sc);
     sc->noctor--;
 
     sc->pop();