klisp

an open source interpreter for the Kernel Programming Language.
git clone http://git.hanabi.in/repos/klisp.git
Log | Files | Refs | README

commit 583cd8258eb39b83721e76dfe5d4941c8450cb45
parent 52b1e8a0102d6bdb1f0624affcb3897ae3e08841
Author: Andres Navarro <canavarro82@gmail.com>
Date:   Tue, 10 May 2011 20:11:45 -0300

Changed type predicate for integer->char from integer to exact integer.

Diffstat:
Msrc/kgchars.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/kgchars.c b/src/kgchars.c @@ -54,7 +54,7 @@ void kinteger_to_char(klisp_State *K, TValue *xparams, TValue ptree, { UNUSED(xparams); UNUSED(denv); - bind_1tp(K, ptree, "integer", ttisinteger, itv); + bind_1tp(K, ptree, "exact integer", ttiseinteger, itv); if (ttisbigint(itv)) { klispE_throw_simple(K, "integer out of ASCII range [0 - 127]");