diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2019-06-24 17:21:19 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2019-06-24 17:21:19 -0700 |
commit | 3ef45acb19c1df4f58b5fb2f2b289f6b8a923fd6 (patch) | |
tree | 2bae044c4b6d1294a50b3ad2f3d1bb34854b5d5e /utf8.c | |
parent | ec6aa3e26fe599d7ce87f7addc2a63b58621eab0 (diff) | |
download | txr-3ef45acb19c1df4f58b5fb2f2b289f6b8a923fd6.tar.gz txr-3ef45acb19c1df4f58b5fb2f2b289f6b8a923fd6.tar.bz2 txr-3ef45acb19c1df4f58b5fb2f2b289f6b8a923fd6.zip |
replace: fix strange diagnostic from bad fallthrough.
* lib.c (replace): If a COBJ is passed to replace which
doesn't support the operation, we wrongly pass it to
replace_buf because the BUF case was added into the
fallthrough pass. The end result is that length_buf blows up
on the object, resulting in a strange diagnostic.
The BUF case must be moved above COBJ.
Diffstat (limited to 'utf8.c')
0 files changed, 0 insertions, 0 deletions