diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2019-03-03 19:00:05 +0100 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2019-03-04 15:41:07 +0100 |
commit | a6d49c3a81acb453306a902b08e5bac52fe1ea47 (patch) | |
tree | ffb2674dc5f8f3f932b07b86a93be7de37f98c84 /compiler/commands.nim | |
parent | 0fd5417aff619f00ceac4f976d9207ea4f3faf04 (diff) | |
download | Nim-a6d49c3a81acb453306a902b08e5bac52fe1ea47.tar.gz |
special typing rules for owned pointers
Diffstat (limited to 'compiler/commands.nim')
-rw-r--r-- | compiler/commands.nim | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/commands.nim b/compiler/commands.nim index 583d2bb9e..404be3df3 100644 --- a/compiler/commands.nim +++ b/compiler/commands.nim @@ -738,7 +738,8 @@ proc processSwitch*(switch, arg: string, pass: TCmdLinePass, info: TLineInfo; expectNoArg(conf, switch, arg, pass, info) doAssert(conf != nil) incl(conf.features, destructor) - defineSymbol(conf.symbols, "nimNewRuntime") + incl(conf.globalOptions, optNimV2) + defineSymbol(conf.symbols, "nimV2") of "stylecheck": case arg.normalize of "off": conf.globalOptions = conf.globalOptions - {optStyleHint, optStyleError} |