changeset 1:5a2059196104

Project build commands update
author korDen
date Sat, 24 Oct 2009 17:25:59 +0400
parents 10317f0c89a5
children 7427ded8caf7
files .hgignore build.bat commands.txt dmd/TypeReturn.d setupenv.bat
diffstat 5 files changed, 9 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/.hgignore	Sat Oct 24 17:25:59 2009 +0400
@@ -0,0 +1,1 @@
+relre:win32/*
--- a/build.bat	Sat Oct 24 08:42:06 2009 +0400
+++ b/build.bat	Sat Oct 24 17:25:59 2009 +0400
@@ -1,2 +1,2 @@
 @echo off
-cls && c:\dm\bin\dmc.exe bridge\bridge.cpp -c && c:\dmd_2.031\windows\bin\dmd.exe @commands.txt
\ No newline at end of file
+cls && dmc.exe bridge\bridge.cpp -c && dmd.exe @commands.txt
\ No newline at end of file
--- a/commands.txt	Sat Oct 24 08:42:06 2009 +0400
+++ b/commands.txt	Sat Oct 24 17:25:59 2009 +0400
@@ -14,10 +14,10 @@
 -version=SEH
 -version=OMFOBJ
 -version=SNAN_DEFAULT_INIT
--ofc:\dmd_2.032\windows\bin\dmd.exe
+-ofddmd.exe
 bridge.obj
 ddmd.def
-c:\dmd_2.032\src\dmd\dmd.lib
+dmd.lib
 main.d
 win32\windef.d
 win32\winuser.d
--- a/dmd/TypeReturn.d	Sat Oct 24 08:42:06 2009 +0400
+++ b/dmd/TypeReturn.d	Sat Oct 24 17:25:59 2009 +0400
@@ -8,6 +8,7 @@
 import dmd.Dsymbol;
 import dmd.OutBuffer;
 import dmd.HdrGenState;
+import dmd.Identifier;
 import dmd.TY;
 
 class TypeReturn : TypeQualified
@@ -35,9 +36,10 @@
 
     Dsymbol toDsymbol(Scope sc)
 	{
-		Type *t = semantic(0, sc);
-		if (t == this)
+		Type t = semantic(Loc(0), sc);
+		if (t is this)
 			return null;
+
 		return t.toDsymbol(sc);
 	}
 	
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/setupenv.bat	Sat Oct 24 17:25:59 2009 +0400
@@ -0,0 +1,1 @@
+set path=c:\dm\bin;c:\dmd_2.031\windows\bin;%PATH%
\ No newline at end of file