From 955f047e069497be4cbeffa3e0309360aeb1efa7 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Sat, 9 Mar 2024 14:02:19 -0500 Subject: First pass at lambdas/closures --- compile.h | 1 + 1 file changed, 1 insertion(+) (limited to 'compile.h') diff --git a/compile.h b/compile.h index 6ae5cb07..1f385bb3 100644 --- a/compile.h +++ b/compile.h @@ -15,6 +15,7 @@ typedef struct { CORD expr_as_texting(env_t *env, CORD expr, type_t *t, CORD color); module_code_t compile_file(ast_t *ast); CORD compile_type_ast(type_ast_t *t); +CORD compile_declaration(type_t *t, const char *name); CORD compile_type(type_t *t); CORD compile(env_t *env, ast_t *ast); void compile_namespace(env_t *env, const char *ns_name, ast_t *block); -- cgit v1.2.3