new fixes for lexing process, tests to go with them

This commit is contained in:
Aidan Hahn 2021-09-18 16:48:24 -07:00
parent 5ed8a054d3
commit 72598c2168
No known key found for this signature in database
GPG key ID: 327711E983899316
3 changed files with 43 additions and 9 deletions

View file

@ -41,14 +41,13 @@ pub fn get_echo() -> Function {
Ctr::Seg(c) => string.push_str(ast_as_string(c.clone(), true).as_str()),
Ctr::None => ()
}
string.push_str(" ");
return true;
}) {
// TODO: use custom logger
println!("Echo failure!")
}
return Ctr::String(string);
return Ctr::String(string);
}
)
};