diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2016-06-17 21:33:39 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2016-06-17 21:33:39 -0700 |
commit | a208fafe0b0bf6dd5a78c939e55f0153f6bd6b19 (patch) | |
tree | b2ff871e93c27d07eb259dd9d11c572c29ead086 /termios.h | |
parent | 09413faa188070e9f484099f30f69eed31ab82e2 (diff) | |
download | txr-a208fafe0b0bf6dd5a78c939e55f0153f6bd6b19.tar.gz txr-a208fafe0b0bf6dd5a78c939e55f0153f6bd6b19.tar.bz2 txr-a208fafe0b0bf6dd5a78c939e55f0153f6bd6b19.zip |
Address silly uses of fixnump.
* match.c (h_var): Check modifier for integerp rather
than fixnump.
(h_skip, h_coll, v_collect): Substitute zero only for nil
values of various numeric parameters, not for values that are
not fixnump.
(v_skip): Likewise, and check success for integerp rather than
fixnump. Even if the code can't handle bignums, we need to
steer into that case so it can do he right thing and throw an
exception.
(freeform_prepare): Use weaker integerp type test rather than
fixnump on arguments, for same reason as in v_skip.
Diffstat (limited to 'termios.h')
0 files changed, 0 insertions, 0 deletions