altos/lisp: Move stack recursion check after null check
authorKeith Packard <keithp@keithp.com>
Sat, 19 Nov 2016 07:37:44 +0000 (23:37 -0800)
committerKeith Packard <keithp@keithp.com>
Mon, 20 Feb 2017 19:16:52 +0000 (11:16 -0800)
commit329f76d5e2732ab1c1b10223842d7816275c7e8b
tree1dade2fa3a078f3c4481eaa9cd93dda3877da00e
parent1999b2c915bd5b7df70cffa7777e411d3032d2d5
altos/lisp: Move stack recursion check after null check

Don't crash when printing null stack this way.

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