add bool var toggle function

Signed-off-by: Ava Hahn <ava@aidanis.online>
This commit is contained in:
Ava Hahn 2023-03-02 12:15:42 -08:00
parent 28e158f110
commit 5ce0a8e8b2
Signed by untrusted user who does not match committer: affine
GPG key ID: 3A4645B8CF806069
6 changed files with 160 additions and 8 deletions

View file

@ -116,9 +116,6 @@ pub fn let_callback(ast: &Seg, syms: &mut SymTable) -> Result<Ctr, String> {
return false
}
let temp = var_val_res.clone().unwrap();
println!("dbg: {}", temp);
localsyms.insert(name.clone(), Symbol {
name: name.clone(),
args: Args::None,