Mercurial > projects > dil
comparison src/cmd/DDoc.d @ 810:525ee3f848d9
Added modules cmd.Compile and dil.ModuleManager.
Added options -I, -release and -unittest to the compile command.
Tidied main.d up a bit.
Renamed start() methods of SemanticPass1 and 2 to run().
Moved function findModuleFilePath() to class ModuleManager.
Added msg CouldntLoadModule. Corrected two others.
Added member semanticPass to class Module.
Implemented visit(ImportDeclaration) in SemanticPass1.
author | Aziz K?ksal <aziz.koeksal@gmail.com> |
---|---|
date | Tue, 11 Mar 2008 02:48:01 +0100 |
parents | 28e1ff1dcfcf |
children | 451ede0105e0 |
comparison
equal
deleted
inserted
replaced
809:7e84472f4e91 | 810:525ee3f848d9 |
---|---|
73 if (mod.hasErrors) | 73 if (mod.hasErrors) |
74 continue; | 74 continue; |
75 | 75 |
76 // Start semantic analysis. | 76 // Start semantic analysis. |
77 auto pass1 = new SemanticPass1(mod, context); | 77 auto pass1 = new SemanticPass1(mod, context); |
78 pass1.start(); | 78 pass1.run(); |
79 | 79 |
80 // Build destination file path. | 80 // Build destination file path. |
81 auto destPath = new FilePath(destDirPath); | 81 auto destPath = new FilePath(destDirPath); |
82 destPath.append(mod.getFQN() ~ (writeXML ? ".xml" : ".html")); | 82 destPath.append(mod.getFQN() ~ (writeXML ? ".xml" : ".html")); |
83 | 83 |