new fixes for lexing process, tests to go with them
This commit is contained in:
parent
5ed8a054d3
commit
72598c2168
3 changed files with 43 additions and 9 deletions
|
|
@ -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);
|
||||
}
|
||||
)
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue