altos/lisp: Add builtin 'collect'
[fw/altos] / src / lisp / ao_lisp_make_const.c
index de9c57251bc954378b00bd2f134e69f445a1f468..49f989e6198244e34cf26181bcde6fe1afe1bb53 100644 (file)
@@ -72,6 +72,7 @@ struct builtin_func funcs[] = {
        { .name = "save",       .args = AO_LISP_FUNC_F_LAMBDA,  .func = builtin_save },
        { .name = "restore",    .args = AO_LISP_FUNC_F_LAMBDA,  .func = builtin_restore },
        { .name = "call/cc",    .args = AO_LISP_FUNC_F_LAMBDA,  .func = builtin_call_cc },
+       { .name = "collect",    .args = AO_LISP_FUNC_F_LAMBDA,  .func = builtin_collect },
 };
 
 #define N_FUNC (sizeof funcs / sizeof funcs[0])