diff options
Diffstat (limited to 'src/repl.rs')
-rw-r--r-- | src/repl.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/repl.rs b/src/repl.rs index e05624e..e54eb22 100644 --- a/src/repl.rs +++ b/src/repl.rs @@ -42,6 +42,11 @@ pub fn repl() { Err(Error::ReadError(crate::readline::Error::EOF)) => { return Ok((done, true)); } + Err(Error::EvalError(crate::process::Error::ParserError( + crate::parser::Error::CommandRequired, + ))) => { + return Ok((done, false)); + } Err(e) => { let stderr = std::io::stderr(); let mut stderr = stderr.lock(); |