Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
timotheecour committed Feb 1, 2021
1 parent 745f11c commit aad4aa5
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions compiler/commands.nim
Original file line number Diff line number Diff line change
Expand Up @@ -680,10 +680,11 @@ proc processSwitch*(switch, arg: string, pass: TCmdLinePass, info: TLineInfo;
processOnOffSwitch(conf, {optTrMacros}, arg, pass, info)
of "lean":
processOnOffSwitch(conf, {optLean}, arg, pass, info)
conf.globalOptions.excl optListFullPaths
excl(conf.options, optStackTrace)
excl(conf.options, optOptimizeSpeed)
incl(conf.options, optOptimizeSize)
if optLean in conf.options:
conf.globalOptions.excl optListFullPaths
excl(conf.options, optStackTrace)
excl(conf.options, optOptimizeSpeed)
incl(conf.options, optOptimizeSize)
of "opt":
expectArg(conf, switch, arg, pass, info)
case arg.normalize
Expand Down

0 comments on commit aad4aa5

Please sign in to comment.