diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2017-11-16 06:52:06 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2017-11-16 06:52:06 -0800 |
commit | 30c88cc17203d07b1806453cadf30db2e0d0caa1 (patch) | |
tree | f1414ec248646b72b7776ece69c9afa312148d60 /tests/008/filtenv.expected | |
parent | 6570b4ba2056818462a01f2752f318cc00e0e8da (diff) | |
download | txr-30c88cc17203d07b1806453cadf30db2e0d0caa1.tar.gz txr-30c88cc17203d07b1806453cadf30db2e0d0caa1.tar.bz2 txr-30c88cc17203d07b1806453cadf30db2e0d0caa1.zip |
Use fixnum indices for vector iteration.
* lib.c (find, rfind, find_max, find_if, rfind_if, pos, rpos,
pos_if, rpos_if, pos_max): Consistently fixnum indices for
iterating over vector. In some functions, a cnum is already
used, but could be out of fixnum range; we switch to using
c_fixnum for extracting the length and then num_fast on the
index. Some functions are converted from using a val index.
In the case of rfind_if, a bug is fixed: it was using plusp,
which now becomes the correct >= 0.
Diffstat (limited to 'tests/008/filtenv.expected')
0 files changed, 0 insertions, 0 deletions