Fix tests too

This commit is contained in:
greg 2018-02-23 01:59:53 -08:00
parent 0c69476fd0
commit 6259a0808c

View File

@ -220,6 +220,7 @@ fn handle_operator(c: char, input: &mut CharIter) -> TokenType {
#[cfg(test)] #[cfg(test)]
mod schala_tokenizer_tests { mod schala_tokenizer_tests {
use super::*; use super::*;
use super::Kw::*;
macro_rules! digit { ($ident:expr) => { DigitGroup(Rc::new($ident.to_string())) } } macro_rules! digit { ($ident:expr) => { DigitGroup(Rc::new($ident.to_string())) } }
macro_rules! ident { ($ident:expr) => { Identifier(Rc::new($ident.to_string())) } } macro_rules! ident { ($ident:expr) => { Identifier(Rc::new($ident.to_string())) } }