* honor --errorMax even for tools (eg drnim, nim doc) (#14546)
* fix a bug that prevented nim doc compiler/nim on windows
This commit is contained in:
parent
621384b8ef
commit
4301a3da9d
9 changed files with 22 additions and 15 deletions
|
|
@ -1192,7 +1192,7 @@ proc mainCommand(graph: ModuleGraph) =
|
|||
graph.strongSemCheck = strongSemCheck
|
||||
graph.compatibleProps = compatibleProps
|
||||
|
||||
graph.config.errorMax = high(int) # do not stop after first error
|
||||
graph.config.setErrorMaxHighMaybe
|
||||
defineSymbol(graph.config.symbols, "nimcheck")
|
||||
defineSymbol(graph.config.symbols, "nimDrNim")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue