Mercurial > projects > dil
comparison trunk/src/main.d @ 779:8e6fed11bb68
Moved Settings.d and SettingsLoader.d to src/.
author | Aziz K?ksal <aziz.koeksal@gmail.com> |
---|---|
date | Wed, 20 Feb 2008 22:47:33 +0100 |
parents | 78be32e3e157 |
children | edd217e14736 |
comparison
equal
deleted
inserted
replaced
778:78be32e3e157 | 779:8e6fed11bb68 |
---|---|
17 dil.semantic.Pass2, | 17 dil.semantic.Pass2, |
18 dil.semantic.Interpreter; | 18 dil.semantic.Interpreter; |
19 import dil.translator.German; | 19 import dil.translator.German; |
20 import dil.doc.Doc; | 20 import dil.doc.Doc; |
21 import dil.Messages; | 21 import dil.Messages; |
22 import dil.Settings; | |
23 import dil.SettingsLoader; | |
24 import dil.CompilerInfo; | 22 import dil.CompilerInfo; |
25 import dil.Information; | 23 import dil.Information; |
26 import dil.SourceText; | 24 import dil.SourceText; |
27 import dil.Compilation; | 25 import dil.Compilation; |
28 | 26 |
29 import cmd.Generate; | 27 import cmd.Generate; |
30 import cmd.Statistics; | 28 import cmd.Statistics; |
31 import cmd.ImportGraph; | 29 import cmd.ImportGraph; |
32 import cmd.DDoc; | 30 import cmd.DDoc; |
31 | |
32 import Settings; | |
33 import SettingsLoader; | |
33 import common; | 34 import common; |
34 | 35 |
35 import Integer = tango.text.convert.Integer; | 36 import Integer = tango.text.convert.Integer; |
36 import tango.stdc.stdio; | 37 import tango.stdc.stdio; |
37 import tango.io.File; | 38 import tango.io.File; |
40 import tango.text.Ascii : icompare; | 41 import tango.text.Ascii : icompare; |
41 | 42 |
42 void main(char[][] args) | 43 void main(char[][] args) |
43 { | 44 { |
44 auto infoMan = new InfoManager(); | 45 auto infoMan = new InfoManager(); |
45 SettingsLoader(infoMan).load(); | 46 SettingsLoader.SettingsLoader(infoMan).load(); |
46 if (infoMan.hasInfo) | 47 if (infoMan.hasInfo) |
47 return printErrors(infoMan); | 48 return printErrors(infoMan); |
48 | 49 |
49 if (args.length <= 1) | 50 if (args.length <= 1) |
50 return Stdout(helpMain()).newline; | 51 return Stdout(helpMain()).newline; |