aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMelody Horn <melody@boringcactus.com>2021-04-02 20:19:26 -0600
committerMelody Horn <melody@boringcactus.com>2021-04-02 20:19:26 -0600
commit8b70f19427db3307135b4d8b2a7bca31fc1d1a71 (patch)
treef90cb8d579807cd1a3f89c1160335dfeae6ca830
parent9e714b326f0d30b4154c3120a92d6807beaadfca (diff)
downloadmakers-8b70f19427db3307135b4d8b2a7bca31fc1d1a71.tar.gz
makers-8b70f19427db3307135b4d8b2a7bca31fc1d1a71.zip
hide gnuist assignment operators behind feature
-rw-r--r--src/makefile/mod.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/makefile/mod.rs b/src/makefile/mod.rs
index 3de4975..f4f0853 100644
--- a/src/makefile/mod.rs
+++ b/src/makefile/mod.rs
@@ -386,6 +386,8 @@ impl<'a> Makefile<'a> {
let mut expand_value = false;
let mut skip_if_defined = false;
let mut append = false;
+
+ #[cfg(feature = "full")]
let name = if let Some(real_name) = name.strip_suffix("::") {
expand_value = true;
real_name