aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/makefile/macro.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/makefile/macro.rs b/src/makefile/macro.rs
index 9b52206..d77557b 100644
--- a/src/makefile/macro.rs
+++ b/src/makefile/macro.rs
@@ -276,6 +276,12 @@ impl<'parent, 'lookup> Set<'parent, 'lookup> {
}
None => macro_value,
};
+ log::trace!(
+ "expanded {} (from {:?}) into \"{}\"",
+ token,
+ self.get(&name).map(|x| &x.source),
+ &macro_value
+ );
result.push_str(&macro_value);
}
#[cfg(feature = "full")]