tisp

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

commit a44e4212613c8e9ab914306db45964b27acc2567
parent 310406ebfae46cda3a5f9ec839c88e8e39a3feee
Author: Ed van Bruggen <edvb@uw.edu>
Date:   Sun, 22 Dec 2019 19:22:29 -0800

Fix seg fault if no input is given

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

diff --git a/tisp.c b/tisp.c @@ -632,7 +632,7 @@ tisp_read_file(char *fname) Val tisp_parse_file(Tsp st, char *fname) { - Val ret = mk_pair(NULL, st->nil); + Val ret = mk_pair(st->none, st->nil); Val v, last = ret; char *file = st->file; size_t filec = st->filec;