Mercurial > projects > ddmd
diff dmd/Parser.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 | 12c0c84d13fd |
children | 347de076ad34 |
line wrap: on
line diff
--- a/dmd/Parser.d Tue Aug 31 23:57:32 2010 +0100 +++ b/dmd/Parser.d Wed Sep 01 18:21:58 2010 +0200 @@ -1,5 +1,6 @@ module dmd.Parser; +import dmd.common; import dmd.Lexer; import dmd.PostBlitDeclaration; import dmd.FileInitExp; @@ -1428,9 +1429,12 @@ } else if (id == Id.System) { -version (_WIN32) { +version (Windows) +{ link = LINK.LINKwindows; -} else { +} +else +{ link = LINK.LINKc; } }