Mercurial > projects > ldc
comparison gen/main.cpp @ 1645:1d2d1aa16841
Don't error out with -singleobj, -of, and -c/-output-{bc,ll,o,s}.
author | Matti Niemenmaa <matti.niemenmaa+hg@iki.fi> |
---|---|
date | Tue, 09 Mar 2010 23:20:39 +0200 |
parents | 9176437d98be |
children | 40bd4a0d4870 |
comparison
equal
deleted
inserted
replaced
1644:9176437d98be | 1645:1d2d1aa16841 |
---|---|
779 if (!Module::rootModule) | 779 if (!Module::rootModule) |
780 Module::rootModule = m; | 780 Module::rootModule = m; |
781 m->importedFrom = m; | 781 m->importedFrom = m; |
782 m->read(0); | 782 m->read(0); |
783 m->parse(); | 783 m->parse(); |
784 m->buildTargetFiles(); | 784 m->buildTargetFiles(singleObj); |
785 m->deleteObjFile(); | 785 m->deleteObjFile(); |
786 if (m->isDocFile) | 786 if (m->isDocFile) |
787 { | 787 { |
788 m->gendocfile(); | 788 m->gendocfile(); |
789 | 789 |