summary refs log tree commit diff stats
path: root/compiler/commands.nim
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2018-05-30 23:50:34 +0200
committerAndreas Rumpf <rumpf_a@web.de>2018-05-30 23:50:34 +0200
commit61fb83ecbb4c691c03d500f6c71499e59a67cef2 (patch)
tree5976368415b899b6a1a1b4640657c25bafcd22b3 /compiler/commands.nim
parenta36c779f398d786082dc8d53412f8a9aaebf637b (diff)
downloadNim-61fb83ecbb4c691c03d500f6c71499e59a67cef2.tar.gz
baby steps for incremental compilation
Diffstat (limited to 'compiler/commands.nim')
-rw-r--r--compiler/commands.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/commands.nim b/compiler/commands.nim
index efb7e2427..cd9ebbe7d 100644
--- a/compiler/commands.nim
+++ b/compiler/commands.nim
@@ -626,9 +626,9 @@ proc processSwitch*(switch, arg: string, pass: TCmdLinePass, info: TLineInfo;
   of "help", "h":
     expectNoArg(conf, switch, arg, pass, info)
     helpOnError(conf, pass)
-  of "symbolfiles":
+  of "symbolfiles", "incremental":
     case arg.normalize
-    of "on": conf.symbolFiles = enabledSf
+    of "on": conf.symbolFiles = v2Sf
     of "off": conf.symbolFiles = disabledSf
     of "writeonly": conf.symbolFiles = writeOnlySf
     of "readonly": conf.symbolFiles = readOnlySf