summary refs log tree commit diff stats
path: root/compiler/commands.nim
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2016-06-11 22:07:15 +0200
committerGitHub <noreply@github.com>2016-06-11 22:07:15 +0200
commit7ee6b6c5f8363c8b2c091f1203e4aa637e0d6304 (patch)
treecc7e258fce8cca64f1ef84c8172df7e630d10fab /compiler/commands.nim
parentc1a553a2a9b670b45608637a29b9cb0b3cf89dac (diff)
parent6c8b06b2a38b41559c5387d98d3bf1429e936236 (diff)
downloadNim-7ee6b6c5f8363c8b2c091f1203e4aa637e0d6304.tar.gz
Merge pull request #4310 from Parashurama/long_stack_trace
adds --excessiveStackTrace:on|off flag for nim
Diffstat (limited to 'compiler/commands.nim')
-rw-r--r--compiler/commands.nim1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/commands.nim b/compiler/commands.nim
index 3bc0b604a..5601ef662 100644
--- a/compiler/commands.nim
+++ b/compiler/commands.nim
@@ -409,6 +409,7 @@ proc processSwitch(switch, arg: string, pass: TCmdLinePass, info: TLineInfo) =
     if processOnOffSwitchOrList({optHints}, arg, pass, info): listHints()
   of "threadanalysis": processOnOffSwitchG({optThreadAnalysis}, arg, pass, info)
   of "stacktrace": processOnOffSwitch({optStackTrace}, arg, pass, info)
+  of "excessivestacktrace": processOnOffSwitchG({optExcessiveStackTrace}, arg, pass, info)
   of "linetrace": processOnOffSwitch({optLineTrace}, arg, pass, info)
   of "debugger":
     case arg.normalize