Nimscript: fixes #9246 [backport]

This commit is contained in:
Andreas Rumpf 2018-11-06 21:55:13 +01:00
commit 73c306258b
5 changed files with 6 additions and 2 deletions

View file

@ -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: