summaryrefslogtreecommitdiffstats
path: root/debug.h
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2020-07-08 07:58:20 -0700
committerKaz Kylheku <kaz@kylheku.com>2020-07-08 07:58:20 -0700
commitd60eeab9d2eda8c05ecb27961306468608eb4006 (patch)
tree8cb35b9f24d2739aff281f15e08d580336efbc76 /debug.h
parentbb481714ff3ddc5be9cadc2dcce2889caf63d080 (diff)
downloadtxr-d60eeab9d2eda8c05ecb27961306468608eb4006.tar.gz
txr-d60eeab9d2eda8c05ecb27961306468608eb4006.tar.bz2
txr-d60eeab9d2eda8c05ecb27961306468608eb4006.zip
uref/qref: printing bug.
* lib.c (obj_print_impl): The simple_qref_args_p function is called with reversed values of pos. For uref, we want 1, because the first item occurs after the dot, and for qref we want 0, because the first item occurs before the dot. This mix up means that the degenerate syntax (qref X) incorrectly prints as just X instead of (qref X). Likewise, though harmlessly, (uref X) fails to render as .X, instead coming out as (uref X).
Diffstat (limited to 'debug.h')
0 files changed, 0 insertions, 0 deletions