diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2021-01-25 19:35:21 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2021-01-25 15:53:23 -0800 |
commit | 381e0669fc3d0771a2c236ad816b6609cb4ff61c (patch) | |
tree | 839b0238265b1d1c2c2efc1b1773221de10826c4 /tests | |
parent | 9f9f916d530e852a471739f625b985cf1346da4a (diff) | |
download | txr-381e0669fc3d0771a2c236ad816b6609cb4ff61c.tar.gz txr-381e0669fc3d0771a2c236ad816b6609cb4ff61c.tar.bz2 txr-381e0669fc3d0771a2c236ad816b6609cb4ff61c.zip |
sub-str: compat check now restores 215 behavior.
* lib.c (sub_str): If compatibility is requested, with a value
of 215 or less, then disable the optimization of returning
the original string without making a copy. This was found
to break the @(freeform) directive. That regression alerts me
to the fact that I should have made this subject to
compatibility; some user code could be affected.
* txr.1: New compat note added, under 215.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions