diff options
author | Paul Smith <psmith@gnu.org> | 2005-06-09 19:19:20 +0000 |
---|---|---|
committer | Paul Smith <psmith@gnu.org> | 2005-06-09 19:19:20 +0000 |
commit | dd30b0552ffc4276e1ada07100b7eb4e231805fa (patch) | |
tree | 70560f2abb0526fa4dee4e3309f24fb6b202f425 /ChangeLog | |
parent | af88a3550a6202361aa9eab7e59d83b0bf2c1610 (diff) | |
download | gunmake-dd30b0552ffc4276e1ada07100b7eb4e231805fa.tar.gz |
Fix Savannah bug #11913: ensure that scopes such as foreach, etc. take
precedence over the global scope when they're used in a global context
(such as an eval).
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -1,3 +1,16 @@ +2005-06-09 Paul D. Smith <psmith@gnu.org> + + * variable.c (push_new_variable_scope): File variables point + directly to the global_setlist variable. So, inserting a new + scope in front of that has no effect on those variables: they + don't go through current_variable_set_list. If we're pushing a + scope and the current scope is global, push it "the other way" so + that the new setlist is in the global_setlist variable, and + next points to a new setlist with the global variable set. + (pop_variable_scope): Properly undo a push with the new + semantics. + Fixes Savannah bug #11913. + 2005-05-31 Boris Kolpackov <boris@kolpackov.net> * job.c (reap_children): Don't die of the command failed but |