diff options
Diffstat (limited to 'src/expr.cc')
-rw-r--r-- | src/expr.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/expr.cc b/src/expr.cc index 878da3f7..bcf83edb 100644 --- a/src/expr.cc +++ b/src/expr.cc @@ -171,6 +171,8 @@ value_t source_command(call_scope_t& args) if (args.has(0)) { stream.reset(new ifstream(path(args.get<string>(0)))); in = stream.get(); + } else { + in = &std::cin; } symbol_scope_t file_locals(args); |