tisp

tiny lisp
git clone git://edryd.org/tisp
Log | Files | Refs | LICENSE

commit 4a9a31e3582be41d80a01082fcfc0e18558e82b0
parent 17a56db499f8a126beaf1febce5451f6a9406f07
Author: Ed van Bruggen <edvb@uw.edu>
Date:   Sun, 13 Jan 2019 22:52:55 -0800

Return nothing on empty input, not nil

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

diff --git a/tisp.c b/tisp.c @@ -527,7 +527,7 @@ tisp_read(Env env, Str str) { skip_ws(str); if (strlen(str->d) == 0) - return env->nil; + return env->none; if (isnum(str->d)) return read_num(str); if (*str->d == '"')