diff options
author | Paul Smith <psmith@gnu.org> | 2002-10-25 22:01:47 +0000 |
---|---|---|
committer | Paul Smith <psmith@gnu.org> | 2002-10-25 22:01:47 +0000 |
commit | d696707cb5009308baa345ff60c8378512b07edb (patch) | |
tree | 480e6f04e132649d7346adc8eb92d090f85aabde /ChangeLog | |
parent | bd108cf45cca0a37cb82aca0f3f3516e593d638b (diff) | |
download | gunmake-d696707cb5009308baa345ff60c8378512b07edb.tar.gz |
Fix eval bugs 1516 and 1517.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 19 |
1 files changed, 19 insertions, 0 deletions
@@ -1,5 +1,24 @@ 2002-10-25 Paul D. Smith <psmith@gnu.org> + * expand.c (install_variable_buffer): New function. Install a new + variable_buffer context and return the previous one. + (restore_variable_buffer): New function. Free the current + variable_buffer context and put a previously saved one back. + * variable.h: Prototypes for {install,restore}_variable_buffer. + * function.c (func_eval): Push a new variable_buffer context + before we eval, then restore the old one when we're done. + Fixes Bug #1517. + + * read.c (install_conditionals): New function. Install a new + conditional context and return the previous one. + (restore_conditionals): New function. Free the current + conditional context and put a previously saved one back. + (eval): Use the {install,restore}_conditionals for "include" + handling. + (eval_buffer): Use {install,restore}_conditionals to preserve the + present conditional state before we evaluate the buffer. + Fixes Bug #1516. + * doc/make.texi (Quick Reference): Add references to $(eval ...) and $(value ...). (Recursion): Add a variable index entry for CURDIR. |