Change error message
This commit is contained in:
parent
a613fa73e5
commit
09b67dc3f7
@ -56,7 +56,7 @@ impl ReplState for InterpreterState {
|
|||||||
|
|
||||||
fn repl_handler(input: &str, state: &mut InterpreterState) -> String {
|
fn repl_handler(input: &str, state: &mut InterpreterState) -> String {
|
||||||
let tokens = match tokenize(input) {
|
let tokens = match tokenize(input) {
|
||||||
None => return format!("Failure to tokenize"),
|
None => return format!("Tokenization error"),
|
||||||
Some(t) => t
|
Some(t) => t
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user