Reorganized variable code

This commit is contained in:
2023-06-14 16:15:51 -07:00
parent 5ffad0cc4e
commit 00a421756d
10 changed files with 39 additions and 47 deletions

View File

@@ -4,7 +4,7 @@ use crate::evaluate::evaluate;
use crate::context::Context;
fn eval_to_str(s: &str) -> Result<String, ()> {
let g = match parser::parse(&String::from(s)) {
let g = match parser::parse_no_context(&String::from(s)) {
Ok(x) => x,
Err(_) => return Err(())
};