summaryrefslogtreecommitdiffstats
path: root/lisplib.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2017-10-26 19:58:11 -0700
committerKaz Kylheku <kaz@kylheku.com>2017-10-26 19:58:11 -0700
commit0da6cb45f260699fab94828110b9840783d8e079 (patch)
tree2ff1f94b35fdde71d5f3137804dcc3d699549dd2 /lisplib.c
parent9de33100603b178b93e7c949edc266cc6bb724f6 (diff)
downloadtxr-0da6cb45f260699fab94828110b9840783d8e079.tar.gz
txr-0da6cb45f260699fab94828110b9840783d8e079.tar.bz2
txr-0da6cb45f260699fab94828110b9840783d8e079.zip
carray: bugfix: allow negative indexing in ref operation.
* ffi.c (carray_ref): If the index is negative, displace it by the length of the array. (Then if it is still negative, the function will throw.)
Diffstat (limited to 'lisplib.c')
0 files changed, 0 insertions, 0 deletions