options.nim: no global variables anymore

This commit is contained in:
Andreas Rumpf 2018-05-13 17:52:21 +02:00
commit 328e7a1005
46 changed files with 509 additions and 507 deletions

View file

@ -38,7 +38,7 @@ In addition, all command line options of Nim are supported.
proc mainCommand =
registerPass verbosePass
registerPass semPass
gCmd = cmdPretty
conf.cmd = cmdPretty
searchPaths.add options.libpath
if gProjectFull.len != 0:
# current path is always looked first for modules