altos/lisp: Make read() return eof atom on end of file
authorKeith Packard <keithp@keithp.com>
Fri, 11 Nov 2016 07:25:56 +0000 (23:25 -0800)
committerKeith Packard <keithp@keithp.com>
Mon, 20 Feb 2017 19:16:50 +0000 (11:16 -0800)
commit92cdc0cf0e80c1ff3f31cce20fc2b9bda86e3638
tree2480c8bc3baba89873aea4061796a91522a7f5fb
parentfb710f7f4f24f74ac3d45fcc423803384d986bb2
altos/lisp: Make read() return eof atom on end of file

Also make it an exception to hit eof in the middle of an sexpr.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/lisp/ao_lisp.h
src/lisp/ao_lisp_read.c
src/lisp/ao_lisp_rep.c