aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMelody Horn <melody@boringcactus.com>2021-04-03 19:03:29 -0600
committerMelody Horn <melody@boringcactus.com>2021-04-03 19:03:29 -0600
commit45254dfe9d6a2c45164050ec18e12e629c074721 (patch)
tree77bc4c4a3d46631b5480e56e33934538f83fbcaf /src
parent05bbe1fdf143652ae62fcc1e121babb6ec76726b (diff)
downloadmakers-45254dfe9d6a2c45164050ec18e12e629c074721.tar.gz
makers-45254dfe9d6a2c45164050ec18e12e629c074721.zip
don't lose the eval stack
Diffstat (limited to 'src')
-rw-r--r--src/makefile/macro.rs4
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),
}
}
}