diff dmd/Declaration.d @ 14:2cc604139636

Implemented Linux support for ddmd. Some parts are a bit hacky to just "get it working", that said, druntime and phobos compile, and unittests pass.
author Robert Clipsham <robert@octarineparrot.com>
date Sun, 04 Apr 2010 02:06:32 +0100
parents 10317f0c89a5
children 5c9b78899f5d
line wrap: on
line diff
--- a/dmd/Declaration.d	Wed Mar 31 16:29:36 2010 +0400
+++ b/dmd/Declaration.d	Sun Apr 04 02:06:32 2010 +0100
@@ -180,7 +180,7 @@
 	}
 
     string mangle()
-	out (result)
+	/+out (result)
 	{
 		try
 		{
@@ -197,8 +197,9 @@
 			assert(false);
 		}
 	}
-	body
+	body+/
 	{
+version(Bug3602) { writef( "Bug3602: Uncomment outblock when fixed" );  }
 		//writef("Declaration.mangle(this = %p, '%s', parent = '%s', linkage = %d)\n", this, toChars(), parent ? parent.toChars() : "null", linkage);
 		if (!parent || parent.isModule() || linkage == LINK.LINKcpp) // if at global scope
 		{
@@ -308,4 +309,4 @@
 	}
 
     Declaration isDeclaration() { return this; }
-}
\ No newline at end of file
+}