summaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2000-02-05 07:37:40 +0000
committerPaul Smith <psmith@gnu.org>2000-02-05 07:37:40 +0000
commit9b0a3d91ea594ff1afe7b8ec83ff41ba828d243b (patch)
treeb35695ad78c82d25f7e60d4c93880394a2a970b3 /ChangeLog
parent95a09e94f7b4155913cb4b1a0e6c1576780f09d1 (diff)
downloadgunmake-9b0a3d91ea594ff1afe7b8ec83ff41ba828d243b.tar.gz
* Fix PR/1407.
* Keep filename/lineno information for variables, for debugging.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog29
1 files changed, 29 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 7ed88a7..8fdd6d7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,32 @@
+2000-02-04 Paul D. Smith <psmith@gnu.org>
+
+ * variable.c (print_variable): Write out filename/linenumber
+ information for the variable definition if present.
+ (define_variable_in_set): Store filename information if provided.
+ (define_variable, define_variable_for_file): Removed.
+ (try_variable_definition): Use define_variable_loc() to keep
+ variable definition location information.
+ * read.c (read_makefile): Keep variable definition location info.
+ (do_define): Ditto.
+ (record_target_var): Ditto.
+ * variable.h (define_variable_in_set): New fileinfo argument.
+ (define_variable, define_variable_loc, define_variable_for_file):
+ Declare new macros.
+
+ Fix PR/1407:
+
+ * filedef.h (struct file): Rename patvar to pat_variables and make
+ it just a variable_set_list; we need our own copy of the pattern
+ variable's variable set list here to avoid overwriting the global
+ one.
+ * variable.c (initialize_file_variables): Move the instantiation
+ of the pat_variables pointer here. Only do the search after we're
+ done reading the makefiles so we don't search too early. If
+ there's a pat_variables value, set up the variables next ptr.
+ * expand.c (variable_expand_for_file): Remove the setup of the
+ pat_variables info; it's done earlier now to ensure the parent's
+ pattern variables are set up correctly as well.
+
2000-01-25 Paul D. Smith <psmith@gnu.org>
Change gettext support to use the simplified version in libit 0.7.