summaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2006-02-15 23:54:42 +0000
committerPaul Smith <psmith@gnu.org>2006-02-15 23:54:42 +0000
commit0806a403d65ef6a7f16e2c17aa8286100ebad5d7 (patch)
treeefb7503681a70739ad6e4659ebefc701975ced7f /ChangeLog
parent86af3872a910e314d20ef911fad1819ad90c1291 (diff)
downloadgunmake-0806a403d65ef6a7f16e2c17aa8286100ebad5d7.tar.gz
Fix Savannah bug #106: keep separate track of which variable we are
expanding, and use that info when generating error messages instead of the file info, where appropriate.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog21
1 files changed, 21 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 24732d2..e86bc3e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,24 @@
+2006-02-15 Paul D. Smith <psmith@gnu.org>
+
+ Fix for Savannah bug #106.
+
+ * expand.c (expanding_var): Keep track of which variable we're
+ expanding. If no variable is being expanded, it's the same as
+ reading_file.
+ * make.h (expanding_var): Declare it.
+ * expand.c (recursively_expand_for_file): Set expanding_var to the
+ current variable we're expanding, unless there's no file info in
+ it (could happen if it comes from the command line or a default
+ variable). Restore it before we exit.
+ * expand.c (variable_expand_string): Use the expanding_var file
+ info instead of the reading_file info.
+ * function.c (check_numeric): Ditto.
+ (func_word): Ditto.
+ (func_wordlist): Ditto.
+ (func_error): Ditto.
+ (expand_builtin_function): Ditto.
+ (handle_function): Ditto.
+
2006-02-14 Paul D. Smith <psmith@gnu.org>
* read.c (eval): Even if the included filenames expands to the