Change error message

This commit is contained in:
greg 2016-01-11 00:49:29 -08:00
parent a613fa73e5
commit 09b67dc3f7

View File

@ -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
}; };