From b04a8f00925c76bd5c303f3ecd6f868c81515fa2 Mon Sep 17 00:00:00 2001 From: greg Date: Thu, 12 Jan 2017 21:51:00 -0800 Subject: [PATCH] Add back interpreter directives --- src/main.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main.rs b/src/main.rs index 27e9857..e8cb802 100644 --- a/src/main.rs +++ b/src/main.rs @@ -123,6 +123,9 @@ impl<'a> Repl<'a> { break; } Ok(Input(ref input)) => { + if self.handle_interpreter_directive(input) { + continue; + } let output = self.input_handler(input); println!("{}", output); }