diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2016-09-09 06:16:00 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2016-09-09 06:16:00 -0700 |
commit | 7d6eb419494d58ce8dba4ab2582793a1c04f3854 (patch) | |
tree | 4e5e598fbc771883b57230a811defdbcc20d06c5 /jmp.S | |
parent | 86f99969e159e3e800794e609490694317d13adb (diff) | |
download | txr-7d6eb419494d58ce8dba4ab2582793a1c04f3854.tar.gz txr-7d6eb419494d58ce8dba4ab2582793a1c04f3854.tar.bz2 txr-7d6eb419494d58ce8dba4ab2582793a1c04f3854.zip |
awk macro: fix buggy range semantics.
* share/txr/stdlib/awk.tl (sys:awk-let): The closing
expression of an awk range only applies when
the range is active. Refactor generated code with local flags to
eliminate duplicating the end range expression.
Avoid evaluating the start range expression if the
range is already active.
Diffstat (limited to 'jmp.S')
0 files changed, 0 insertions, 0 deletions