Added incomplete flag

This commit is contained in:
2023-08-03 13:56:50 -07:00
parent 522917da63
commit f130bed7aa
3 changed files with 14 additions and 5 deletions

View File

@@ -10,7 +10,7 @@ fn eval_to_str(s: &str) -> Result<String, ()> {
};
//let out_str = g.print();
return match evaluate(&g, &mut Context::new()) {
return match evaluate(&g, &mut Context::new(), false) {
Ok(x) => Ok(x.to_string_outer()),
Err(_) => Err(())
};