Add back interpreter directives
This commit is contained in:
@@ -123,6 +123,9 @@ impl<'a> Repl<'a> {
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
Ok(Input(ref input)) => {
|
Ok(Input(ref input)) => {
|
||||||
|
if self.handle_interpreter_directive(input) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
let output = self.input_handler(input);
|
let output = self.input_handler(input);
|
||||||
println!("{}", output);
|
println!("{}", output);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user