altos/lisp: have 'while' return the last body value
authorKeith Packard <keithp@keithp.com>
Fri, 18 Nov 2016 00:52:30 +0000 (16:52 -0800)
committerKeith Packard <keithp@keithp.com>
Mon, 20 Feb 2017 19:16:51 +0000 (11:16 -0800)
commit11c79167cdd56015bbd1645db2d4394dcb4f0fbb
tree7cfe6c62546d008660d7a44405fde4c8c6315e7b
parent9126ae10b3c5acf0055caa31b1f08215675af784
altos/lisp: have 'while' return the last body value

Instead of always returning 'nil', let while return the last body
value.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/lisp/ao_lisp_error.c
src/lisp/ao_lisp_eval.c