diff options
author | Keith Packard <keithp@keithp.com> | 2017-11-16 13:02:07 -0800 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2017-11-16 13:02:07 -0800 |
commit | bd881a5b85d7cd4fb82127f92f32e089499b50cb (patch) | |
tree | bf4f5f985e37544b1ee64a65020b809ee994e227 /src/lisp/ao_lisp_eval.c | |
parent | 50a095fbe828b6ec3159d27930712df6b1b519b4 (diff) |
altos/lisp: Add non-cons cdr support
The cdr of a cons can be any value; add support for lexing and
printing them.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/lisp/ao_lisp_eval.c')
-rw-r--r-- | src/lisp/ao_lisp_eval.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lisp/ao_lisp_eval.c b/src/lisp/ao_lisp_eval.c index 3be7c9c4..3e68d14a 100644 --- a/src/lisp/ao_lisp_eval.c +++ b/src/lisp/ao_lisp_eval.c @@ -210,7 +210,7 @@ ao_lisp_eval_formal(void) } /* Append formal to list of values */ - formal = ao_lisp_cons_poly(ao_lisp_cons_cons(ao_lisp_v, NULL)); + formal = ao_lisp__cons(ao_lisp_v, AO_LISP_NIL); if (!formal) return 0; |