diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2018-11-06 21:55:13 +0100 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2018-11-06 21:55:13 +0100 |
commit | 73c306258b6e0e82cc977a8a5ce3e21c32ea8942 (patch) | |
tree | db9e2a71ef0d61e0b0e1aa66509b55021a92cedf /compiler/main.nim | |
parent | 24902394f713ba540e5c26dc5585fdc70ec11853 (diff) | |
download | Nim-73c306258b6e0e82cc977a8a5ce3e21c32ea8942.tar.gz |
Nimscript: fixes #9246 [backport]
Diffstat (limited to 'compiler/main.nim')
-rw-r--r-- | compiler/main.nim | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/main.nim b/compiler/main.nim index 6c8b0343e..853bfb4f6 100644 --- a/compiler/main.nim +++ b/compiler/main.nim @@ -265,6 +265,7 @@ proc mainCommand*(graph: ModuleGraph) = conf.cmd = cmdInteractive commandInteractive(graph) of "e": + incl conf.globalOptions, optWasNimscript commandEval(graph, mainCommandArg(conf)) of "nop", "help": # prevent the "success" message: |