diff options
author | Melody Horn <melody@boringcactus.com> | 2021-04-03 19:03:29 -0600 |
---|---|---|
committer | Melody Horn <melody@boringcactus.com> | 2021-04-03 19:03:29 -0600 |
commit | 45254dfe9d6a2c45164050ec18e12e629c074721 (patch) | |
tree | 77bc4c4a3d46631b5480e56e33934538f83fbcaf /src/makefile/macro.rs | |
parent | 05bbe1fdf143652ae62fcc1e121babb6ec76726b (diff) | |
download | makers-45254dfe9d6a2c45164050ec18e12e629c074721.tar.gz makers-45254dfe9d6a2c45164050ec18e12e629c074721.zip |
don't lose the eval stack
Diffstat (limited to 'src/makefile/macro.rs')
-rw-r--r-- | src/makefile/macro.rs | 4 |
1 files changed, 2 insertions, 2 deletions
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), } } } |