bootstrapping works

This commit is contained in:
Andreas Rumpf
2018-05-13 09:07:11 +02:00
parent 342e50e26c
commit dc4aa47c29

View File

@@ -727,7 +727,7 @@ proc processSwitch*(switch, arg: string, pass: TCmdLinePass, info: TLineInfo;
if strutils.find(switch, '.') >= 0: options.setConfigVar(conf, switch, arg)
else: invalidCmdLineOption(conf, pass, switch, info)
template gCmdLineInfo*(): untyped = newLineInfo(FileIndex(0), 1, 1)
template gCmdLineInfo*(): untyped = newLineInfo(config, "command line", 1, 1)
proc processCommand*(switch: string, pass: TCmdLinePass; config: ConfigRef) =
var cmd, arg: string