diff dmd/statement.c @ 232:092468448d25 trunk

[svn r248] Fixed: labels in inline asm block now work for the normal case. Fixed: inline asm blocks are now emitted as a single asm entity.
author lindquist
date Sun, 08 Jun 2008 06:15:51 +0200
parents a58d8f4b84df
children 88252a1af660
line wrap: on
line diff
--- a/dmd/statement.c	Sun Jun 08 01:07:58 2008 +0200
+++ b/dmd/statement.c	Sun Jun 08 06:15:51 2008 +0200
@@ -467,7 +467,7 @@
 	}
 	i++;
     }
-    if (statements->dim == 1)
+    if (statements->dim == 1 && !isAsmBlockStatement())
 	return s;
     return this;
 }
@@ -3593,9 +3593,7 @@
 	: Dsymbol(ident)
 {
     statement = NULL;
-#if IN_GCC
     asmLabelNum = 0;
-#endif
 }
 
 LabelDsymbol *LabelDsymbol::isLabel()		// is this a LabelDsymbol()?