Mercurial > projects > ddmd
comparison 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 |
comparison
equal
deleted
inserted
replaced
113:3482c73a991b | 114:e28b18c23469 |
---|---|
1 module dmd.Parser; | 1 module dmd.Parser; |
2 | 2 |
3 import dmd.common; | |
3 import dmd.Lexer; | 4 import dmd.Lexer; |
4 import dmd.PostBlitDeclaration; | 5 import dmd.PostBlitDeclaration; |
5 import dmd.FileInitExp; | 6 import dmd.FileInitExp; |
6 import dmd.LineInitExp; | 7 import dmd.LineInitExp; |
7 import dmd.EnumMember; | 8 import dmd.EnumMember; |
1426 nextToken(); | 1427 nextToken(); |
1427 } | 1428 } |
1428 } | 1429 } |
1429 else if (id == Id.System) | 1430 else if (id == Id.System) |
1430 { | 1431 { |
1431 version (_WIN32) { | 1432 version (Windows) |
1433 { | |
1432 link = LINK.LINKwindows; | 1434 link = LINK.LINKwindows; |
1433 } else { | 1435 } |
1436 else | |
1437 { | |
1434 link = LINK.LINKc; | 1438 link = LINK.LINKc; |
1435 } | 1439 } |
1436 } | 1440 } |
1437 else | 1441 else |
1438 { | 1442 { |