summaryrefslogtreecommitdiff
path: root/src/lisp/ao_lisp_mem.c
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_mem.c
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_mem.c')
-rw-r--r--src/lisp/ao_lisp_mem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lisp/ao_lisp_mem.c b/src/lisp/ao_lisp_mem.c
index d067ea07..d7c8d7a6 100644
--- a/src/lisp/ao_lisp_mem.c
+++ b/src/lisp/ao_lisp_mem.c
@@ -437,7 +437,7 @@ dump_busy(void)
#define DUMP_BUSY()
#endif
-static const struct ao_lisp_type const *ao_lisp_types[AO_LISP_NUM_TYPE] = {
+static const struct ao_lisp_type *ao_lisp_types[AO_LISP_NUM_TYPE] = {
[AO_LISP_CONS] = &ao_lisp_cons_type,
[AO_LISP_INT] = NULL,
[AO_LISP_STRING] = &ao_lisp_string_type,