summaryrefslogtreecommitdiffstats
path: root/tests/002
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2017-10-27 06:45:53 -0700
committerKaz Kylheku <kaz@kylheku.com>2017-10-27 06:45:53 -0700
commit89012e33ae4a2128573f78be6fc34d9e6c8b64df (patch)
tree022e63ba2f50a39e8ee436c7acd4cab3641a372b /tests/002
parent693228d82e146f96f48a4e5b8347566256989a1d (diff)
downloadtxr-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 'tests/002')
0 files changed, 0 insertions, 0 deletions