diff dmd/Lexer.d @ 114:e28b18c23469

added a module dmd.common for commonly used stuff it currently holds code for consistency checking of predefined versions also added a VisualD project file
author Trass3r
date Wed, 01 Sep 2010 18:21:58 +0200
parents 43073c7c7769
children 60bb0fe4563e
line wrap: on
line diff
--- a/dmd/Lexer.d	Tue Aug 31 23:57:32 2010 +0100
+++ b/dmd/Lexer.d	Wed Sep 01 18:21:58 2010 +0200
@@ -1,5 +1,6 @@
 module dmd.Lexer;
 
+import dmd.common;
 import dmd.StringTable;
 import dmd.OutBuffer;
 import dmd.Token;
@@ -2627,7 +2628,7 @@
 
 		stringbuffer.writeByte(0);
 
-	version (_WIN32) { /// && __DMC__
+	version (Windows) { /// && __DMC__
 		char* save = __locale_decpoint;
 		__locale_decpoint = cast(char*)".".ptr;
 	}
@@ -2675,7 +2676,7 @@
 			}
 		}
 		
-	version (_WIN32) { ///&& __DMC__
+	version (Windows) { ///&& __DMC__
 		__locale_decpoint = save;
 	}
 		if (errno == ERANGE)