diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/repl.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/repl.cpp b/src/repl.cpp index 6c9b3cf..204e2ab 100644 --- a/src/repl.cpp +++ b/src/repl.cpp @@ -158,7 +158,8 @@ eval(CEnv& cenv, Cursor& cursor, istream& is, bool execute) cenv.engine()->finishFn(cenv, f, val, type); // Call and print result - callPrintCollect(cenv, f, ast, type, execute); + if (cenv.args.find("-S") == cenv.args.end()) + callPrintCollect(cenv, f, ast, type, execute); } if (cenv.args.find("-S") != cenv.args.end()) { |