From 45254dfe9d6a2c45164050ec18e12e629c074721 Mon Sep 17 00:00:00 2001 From: Melody Horn Date: Sat, 3 Apr 2021 19:03:29 -0600 Subject: don't lose the eval stack --- src/makefile/macro.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/makefile/macro.rs b/src/makefile/macro.rs index f6bedca..831ec5e 100644 --- a/src/makefile/macro.rs +++ b/src/makefile/macro.rs @@ -163,7 +163,7 @@ impl<'parent, 'lookup> Set<'parent, 'lookup> { data: HashMap::new(), lookup_internal: Some(lookup), #[cfg(feature = "full")] - to_eval: Default::default(), + to_eval: Rc::clone(&self.to_eval), } } @@ -173,7 +173,7 @@ impl<'parent, 'lookup> Set<'parent, 'lookup> { data: HashMap::new(), lookup_internal: None, #[cfg(feature = "full")] - to_eval: Default::default(), + to_eval: Rc::clone(&self.to_eval), } } } -- cgit v1.2.3