summary refs log tree commit diff stats
path: root/compiler/commands.nim
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2015-02-27 16:44:43 +0100
committerAraq <rumpf_a@web.de>2015-02-27 16:44:55 +0100
commit3bfcfeb0cffa266b45f0803009787d7761881326 (patch)
tree13740cd238c5c72772baed5c6241c3dd6aa18eaa /compiler/commands.nim
parent05233de66cbe4a1878e8d83b7bc8fb9df20d8ff1 (diff)
downloadNim-3bfcfeb0cffa266b45f0803009787d7761881326.tar.gz
don't use stdout for nimsuggest server mode
Diffstat (limited to 'compiler/commands.nim')
-rw-r--r--compiler/commands.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/commands.nim b/compiler/commands.nim
index 6e594375f..a2d02e469 100644
--- a/compiler/commands.nim
+++ b/compiler/commands.nim
@@ -382,7 +382,7 @@ proc processSwitch(switch, arg: string, pass: TCmdLinePass, info: TLineInfo) =
     of "off":
       gOptions.excl optEndb
       undefSymbol("endb")
-    of "native":
+    of "native", "gdb":
       incl(gGlobalOptions, optCDebug)
       gOptions = gOptions + {optLineDir} - {optEndb}
       undefSymbol("endb")