altos/lisp: Add scheme-style bools (#t and #f)
[fw/altos] / src / lisp / ao_lisp_poly.c
index fb3b06fe8f2d90c00f4ae1589b61acb5fc71d078..160734b10117f9feecca3b3a9b4bf555ecaff82e 100644 (file)
@@ -52,6 +52,10 @@ static const struct ao_lisp_funcs ao_lisp_funcs[AO_LISP_NUM_TYPE] = {
                .print = ao_lisp_stack_print,
                .patom = ao_lisp_stack_print,
        },
+       [AO_LISP_BOOL] = {
+               .print = ao_lisp_bool_print,
+               .patom = ao_lisp_bool_print,
+       },
 };
 
 static const struct ao_lisp_funcs *