From dc4aa47c29bbcc7453244a11bcdb09e2eb62f1f5 Mon Sep 17 00:00:00 2001 From: Andreas Rumpf Date: Sun, 13 May 2018 09:07:11 +0200 Subject: [PATCH] bootstrapping works --- compiler/commands.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/commands.nim b/compiler/commands.nim index ba6bbab7d9..328dc2f02d 100644 --- a/compiler/commands.nim +++ b/compiler/commands.nim @@ -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