diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2017-06-07 23:51:10 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2017-06-07 23:51:10 -0700 |
commit | 3420284a02f816d3e5208ea1489c7b6afed6539a (patch) | |
tree | 8d73fdc393f8a3b6737863745d2899665c1c228c /utf8.h | |
parent | de885069bebb4e674b7579b22dbecab0742ba02b (diff) | |
download | txr-3420284a02f816d3e5208ea1489c7b6afed6539a.tar.gz txr-3420284a02f816d3e5208ea1489c7b6afed6539a.tar.bz2 txr-3420284a02f816d3e5208ea1489c7b6afed6539a.zip |
awk macro: fix broken rng.
Bug: rng fails to activate when the to and from condition
are true for the same record.
* share/txr/stdlib/awk.tl (sys:awk-mac-let): Rename the flag-new
gensym holder to flag-act, since it indicates whether the range
is active, either from before or due to being activated by
the current record. A new gensym is added to indicate whether
the range is being deactivated in this record. The inclusive
rng range refers to this variable rather than flag-old.
But a bug emulation is provided to refer to the wrong variable.
* txr.1: Added compatibility note.
Diffstat (limited to 'utf8.h')
0 files changed, 0 insertions, 0 deletions