changeset 30:93810d5d169d

Automated merge with http://hg.dsource.org/projects/ddmd/
author Robert Clipsham <robert@octarineparrot.com>
date Tue, 13 Apr 2010 16:15:13 +0100
parents c369e9924151 (diff) 9fe59705c82d (current diff)
children 9364afc02cf5
files
diffstat 3 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/dmd/AsmStatement.d	Mon Apr 12 22:13:20 2010 +0100
+++ b/dmd/AsmStatement.d	Tue Apr 13 16:15:13 2010 +0100
@@ -58,8 +58,6 @@
     Statement semantic(Scope sc)
 	{
 		//printf("AsmStatement.semantic()\n");
-		
-		std.stdio.writeln("semantic");
 
 		if (global.params.safe && !sc.module_.safe)
 		{
--- a/dmd/CompoundStatement.d	Mon Apr 12 22:13:20 2010 +0100
+++ b/dmd/CompoundStatement.d	Tue Apr 13 16:15:13 2010 +0100
@@ -89,6 +89,8 @@
 					statements.insert(i, a);
 					continue;
 				}
+				
+				s = s.semantic(sc);
 
 				statements.data[i] = cast(void*)s;
 				if (s)
--- a/dmd/backend/iasm.d	Mon Apr 12 22:13:20 2010 +0100
+++ b/dmd/backend/iasm.d	Tue Apr 13 16:15:13 2010 +0100
@@ -54,8 +54,8 @@
 
 extern (C) extern 
 {
-	int setjmp(jmp_buf env);
-	void longjmp(jmp_buf env, int value);
+	int setjmp(ref jmp_buf env);
+	void longjmp(ref jmp_buf env, int value);
 	
 	void cod3_set386();
 	code* genlinnum(code*, Srcpos);