diff options
| author | Keith Packard <keithp@keithp.com> | 2017-11-16 17:49:47 -0800 | 
|---|---|---|
| committer | Keith Packard <keithp@keithp.com> | 2017-11-16 18:40:31 -0800 | 
| commit | b3b4731fcb89cb404433f37a7704a503567c43bd (patch) | |
| tree | 74f0a214725905c7556a735127f01a4b4b0926be /src/lisp/ao_lisp_rep.c | |
| parent | bd881a5b85d7cd4fb82127f92f32e089499b50cb (diff) | |
altos/lisp: Add scheme-style bools (#t and #f)
Cond and while compare against #f, just like scheme says to.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/lisp/ao_lisp_rep.c')
| -rw-r--r-- | src/lisp/ao_lisp_rep.c | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/src/lisp/ao_lisp_rep.c b/src/lisp/ao_lisp_rep.c index 3be95d44..ef7dbaf2 100644 --- a/src/lisp/ao_lisp_rep.c +++ b/src/lisp/ao_lisp_rep.c @@ -20,7 +20,7 @@ ao_lisp_read_eval_print(void)  	ao_poly	in, out = AO_LISP_NIL;  	for(;;) {  		in = ao_lisp_read(); -		if (in == _ao_lisp_atom_eof || in == AO_LISP_NIL) +		if (in == _ao_lisp_atom_eof)  			break;  		out = ao_lisp_eval(in);  		if (ao_lisp_exception) { | 
