diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2018-06-28 06:30:08 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2018-06-28 06:30:08 -0700 |
commit | 20cff2e9c0fe22120114624ef7eff40b343d0b91 (patch) | |
tree | db952992e725260b3b7f8cd3eb532e98c98d6ee1 /LICENSE | |
parent | ea16bdd15f75830ea9e2bebd2ea1aaa3f9bfecf6 (diff) | |
download | txr-20cff2e9c0fe22120114624ef7eff40b343d0b91.tar.gz txr-20cff2e9c0fe22120114624ef7eff40b343d0b91.tar.bz2 txr-20cff2e9c0fe22120114624ef7eff40b343d0b91.zip |
awk: bugfix: block optimized away by compiler.
This breaks the (next) awk macro, breaking awk expressions
which want to short-circuit to the next record.
* share/txr/stdlib/awk.tl (sys:awk-state loop): The :awk-rec
block is being optimized away by the compiler because it
doesn't contain any direct function calls to functions that
are not in the standard library. We must use block*, which
isn't subject to this optimization.
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions