diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2021-04-07 07:06:41 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2021-04-07 07:06:41 -0700 |
commit | 38b710b262d96a004092b618f508b2e97f5b2977 (patch) | |
tree | 8e07063dba288cfd2890f02dc1ff2bff8cea9d17 /parser.y | |
parent | 174182a29c785493ed41231caff36f35c56819cf (diff) | |
download | txr-38b710b262d96a004092b618f508b2e97f5b2977.tar.gz txr-38b710b262d96a004092b618f508b2e97f5b2977.tar.bz2 txr-38b710b262d96a004092b618f508b2e97f5b2977.zip |
awk: bugfix: string rs must not compile as regex.
* share/txr/stdlib/awk.tl (awk-state loop): When rs contains a
string, do not pass it directly to regex-compile, because that
function calls regex-parse when the argument is a string.
Wrap it it a (compound ...) tree node to get it to be treated
as sequence of characters to match.
Diffstat (limited to 'parser.y')
0 files changed, 0 insertions, 0 deletions