diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2017-10-27 06:45:53 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2017-10-27 06:45:53 -0700 |
commit | 89012e33ae4a2128573f78be6fc34d9e6c8b64df (patch) | |
tree | 022e63ba2f50a39e8ee436c7acd4cab3641a372b /hash.h | |
parent | 693228d82e146f96f48a4e5b8347566256989a1d (diff) | |
download | txr-89012e33ae4a2128573f78be6fc34d9e6c8b64df.tar.gz txr-89012e33ae4a2128573f78be6fc34d9e6c8b64df.tar.bz2 txr-89012e33ae4a2128573f78be6fc34d9e6c8b64df.zip |
awk: fix buggy handling of new -- ranges.
The problem is that when records appear in the middle
of the range which again match from-expr, they
get suppressed.
* share/txr/stdlib/awk.tl (sys:awk-mac-let): Get rid of the
flag-mid variable. It cannot work because middle is a state
in its own right that cannot be inferred from the existing
states (nil, t, :end) and the value of from-expr. We get rid
of the flag and introduce a :mid state value.
Diffstat (limited to 'hash.h')
0 files changed, 0 insertions, 0 deletions