diff options
Diffstat (limited to 'compiler/commands.nim')
-rw-r--r-- | compiler/commands.nim | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler/commands.nim b/compiler/commands.nim index 04c918672..f90d79d5b 100644 --- a/compiler/commands.nim +++ b/compiler/commands.nim @@ -678,6 +678,9 @@ proc processSwitch*(switch, arg: string, pass: TCmdLinePass, info: TLineInfo; setTarget(conf.target, conf.target.targetOS, cpu) of "run", "r": processOnOffSwitchG(conf, {optRun}, arg, pass, info) + of "maxloopiterationsvm": + expectArg(conf, switch, arg, pass, info) + conf.maxLoopIterationsVM = parseInt(arg) of "errormax": expectArg(conf, switch, arg, pass, info) # Note: `nim check` (etc) can overwrite this. |