summaryrefslogtreecommitdiff
path: root/src/lisp/ao_lisp.h
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2017-11-16 13:02:07 -0800
committerKeith Packard <keithp@keithp.com>2017-11-16 13:02:07 -0800
commitbd881a5b85d7cd4fb82127f92f32e089499b50cb (patch)
treebf4f5f985e37544b1ee64a65020b809ee994e227 /src/lisp/ao_lisp.h
parent50a095fbe828b6ec3159d27930712df6b1b519b4 (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.h')
-rw-r--r--src/lisp/ao_lisp.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lisp/ao_lisp.h b/src/lisp/ao_lisp.h
index 980514cc..79f8fcc3 100644
--- a/src/lisp/ao_lisp.h
+++ b/src/lisp/ao_lisp.h
@@ -499,7 +499,10 @@ ao_lisp_stack_fetch(int id) {
extern const struct ao_lisp_type ao_lisp_cons_type;
struct ao_lisp_cons *
-ao_lisp_cons_cons(ao_poly car, struct ao_lisp_cons *cdr);
+ao_lisp_cons_cons(ao_poly car, ao_poly cdr);
+
+ao_poly
+ao_lisp__cons(ao_poly car, ao_poly cdr);
extern struct ao_lisp_cons *ao_lisp_cons_free_list;