parent
23448a96cc
commit
52e36a19a9
1 changed files with 2 additions and 0 deletions
|
|
@ -76,6 +76,8 @@ proc commandCompileToC(graph: ModuleGraph) =
|
||||||
registerPass(graph, cgenPass)
|
registerPass(graph, cgenPass)
|
||||||
|
|
||||||
compileProject(graph)
|
compileProject(graph)
|
||||||
|
if graph.config.errorCounter > 0:
|
||||||
|
return # issue #9933
|
||||||
cgenWriteModules(graph.backend, conf)
|
cgenWriteModules(graph.backend, conf)
|
||||||
if conf.cmd != cmdRun:
|
if conf.cmd != cmdRun:
|
||||||
let proj = changeFileExt(conf.projectFull, "")
|
let proj = changeFileExt(conf.projectFull, "")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue