From c2cc8571bc4ee5eb0e5ac4b837790d88297ff425 Mon Sep 17 00:00:00 2001 From: Ava Hahn Date: Wed, 3 May 2023 15:04:54 -0700 Subject: [PATCH] fix issue with env var to sym table sync Signed-off-by: Ava Hahn --- src/stl/decl.rs | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/stl/decl.rs b/src/stl/decl.rs index 506d4d2..2701275 100644 --- a/src/stl/decl.rs +++ b/src/stl/decl.rs @@ -56,7 +56,7 @@ pub fn eval_callback(ast: &Seg, syms: &mut SymTable) -> Result { * kept here for reference purposes since I have gone back and forth on this * a bit * - * thanks you for your patience (ava) + * thank you for your patience (ava) match arguments { Ctr::Seg(ref s) => Ok(*eval(s, syms)?.clone()), @@ -69,7 +69,7 @@ pub fn eval_callback(ast: &Seg, syms: &mut SymTable) -> Result { } }, _ => Ok(arguments) - }*/ + }*/ } } @@ -353,7 +353,11 @@ pub fn store_callback(ast: &Seg, syms: &mut SymTable, env_cfg: bool) -> Result