CAAS fixes.
--def will now retrieve symbols from the source map correctly. GCC is also no longer called.
This commit is contained in:
parent
79b08488f7
commit
025d8c1c16
2 changed files with 10 additions and 4 deletions
|
|
@ -201,7 +201,10 @@ proc commandSuggest =
|
|||
# issuing the first compile command. This will leave the compiler
|
||||
# cache in a state where "no recompilation is necessary", but the
|
||||
# cgen pass was never executed at all.
|
||||
commandCompileToC()
|
||||
# commandCompileToC()
|
||||
semanticPasses()
|
||||
registerPass(cgenPass)
|
||||
compileProject()
|
||||
if gDirtyBufferIdx != 0:
|
||||
discard compileModule(gDirtyBufferIdx, {sfDirty})
|
||||
resetModule(gDirtyBufferIdx)
|
||||
|
|
@ -424,6 +427,7 @@ proc mainCommand* =
|
|||
commandEval(mainCommandArg())
|
||||
of "reset":
|
||||
resetMemory()
|
||||
gGlobalOptions.incl(optCaasEnabled)
|
||||
of "idetools":
|
||||
gCmd = cmdIdeTools
|
||||
if gEvalExpr != "":
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue