diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2021-12-27 06:36:20 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2021-12-27 06:36:20 -0800 |
commit | 8ccf4c0a9076c957a5ed58f6ccc6ede7f71644a3 (patch) | |
tree | 0ef77b6b799ca817f6e867dce88da8ee0fc5f09b /ChangeLog-2009-2015 | |
parent | 4500f9d53feea9205c4c30743bb99e3a5f15703d (diff) | |
download | txr-8ccf4c0a9076c957a5ed58f6ccc6ede7f71644a3.tar.gz txr-8ccf4c0a9076c957a5ed58f6ccc6ede7f71644a3.tar.bz2 txr-8ccf4c0a9076c957a5ed58f6ccc6ede7f71644a3.zip |
txr: function span variable must match existing value.
* match.c (h_var_compat): New function; verbatim copy
of existing h_var prior to this commit.
(h_var): If a variable has an existing binding, but
is a function spanning match, do not substitute it with text.
Handle it with the ordinary case, in which we now use
dest_bind instead of cons.
(v_var): Similarly, here, we must also use dest_bind, rather
than always freshly binding the variable.
(match_compat_fixup): For 272 compatibility, substitute
h_var_compat for h_var in the horizontal directive table.
* tests/010/span-var.txr: New test cases.
* txr.1: Documentation updated and also improved overall.
The behavior when a variable has an existing value is
clarified for the regex and fixed field case.
Also update and condense compat notes for 272.
Diffstat (limited to 'ChangeLog-2009-2015')
0 files changed, 0 insertions, 0 deletions