diff options
Diffstat (limited to 'compiler')
-rw-r--r-- | compiler/commands.nim | 1 | ||||
-rw-r--r-- | compiler/options.nim | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/compiler/commands.nim b/compiler/commands.nim index 06b487cf0..34debbc49 100644 --- a/compiler/commands.nim +++ b/compiler/commands.nim @@ -499,6 +499,7 @@ proc processSwitch(switch, arg: string, pass: TCmdLinePass, info: TLineInfo; undefSymbol("nimOldNewlines") else: localError(info, errOnOrOffExpectedButXFound, arg) + of "laxstrings": processOnOffSwitch({optLaxStrings}, arg, pass, info) of "checks", "x": processOnOffSwitch(ChecksOptions, arg, pass, info) of "floatchecks": processOnOffSwitch({optNaNCheck, optInfCheck}, arg, pass, info) diff --git a/compiler/options.nim b/compiler/options.nim index a5dfaa81c..9f56d3f18 100644 --- a/compiler/options.nim +++ b/compiler/options.nim @@ -37,7 +37,8 @@ type # please make sure we have under 32 options # evaluation optPatterns, # en/disable pattern matching optMemTracker, - optHotCodeReloading + optHotCodeReloading, + optLaxStrings TOptions* = set[TOption] TGlobalOption* = enum # **keep binary compatible** |