diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2015-11-04 06:44:25 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2015-11-04 06:44:25 -0800 |
commit | 8cdf0417090b2c6e6b29aa67c7b1efca5501bb7c (patch) | |
tree | 5d9420167dacb3314a3553b5c117d00b3664c52d /share | |
parent | 7ab744e142b33e641a72b163a4f6f9a2eaf18f15 (diff) | |
download | txr-8cdf0417090b2c6e6b29aa67c7b1efca5501bb7c.tar.gz txr-8cdf0417090b2c6e6b29aa67c7b1efca5501bb7c.tar.bz2 txr-8cdf0417090b2c6e6b29aa67c7b1efca5501bb7c.zip |
Pattern vars accessed from Lisp now dynamic.
* eval.c (set_dyn_env): Static function becomes external.
* eval.h (set_dyn_env): Declared.
* match.c (eval_with_bindings, eval_progn_with_bindings):
Evaluate Lisp code in null lexical environment. Instead
install the pattern variables as dynamic, so they shadow
global variables. A compatibility check for 121 or earlier
provides the old behavior.
* txr.1: Document scoping rules, and added compatibility
notes.
Diffstat (limited to 'share')
0 files changed, 0 insertions, 0 deletions