From 476bacc27671de92e8fdbc5b2a904bbf8bc80377 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Sun, 24 Aug 2025 17:07:41 -0400 Subject: More splitting out into separate files. --- src/compile.h | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'src/compile.h') diff --git a/src/compile.h b/src/compile.h index f3758643..e0447e2e 100644 --- a/src/compile.h +++ b/src/compile.h @@ -9,17 +9,11 @@ Text_t compile(env_t *env, ast_t *ast); Text_t compile_cli_arg_call(env_t *env, Text_t fn_name, type_t *fn_type, const char *version); -Text_t compile_declaration(type_t *t, Text_t name); Text_t compile_empty(type_t *t); -Text_t compile_file(env_t *env, ast_t *ast); -Text_t compile_file_header(env_t *env, Path_t header_path, ast_t *ast); -Text_t compile_lvalue(env_t *env, ast_t *ast); Text_t compile_maybe_incref(env_t *env, ast_t *ast, type_t *t); Text_t compile_namespace_header(env_t *env, const char *ns_name, ast_t *block); -Text_t compile_statement(env_t *env, ast_t *ast); Text_t compile_statement_namespace_header(env_t *env, Path_t header_path, ast_t *ast); Text_t compile_statement_type_header(env_t *env, Path_t header_path, ast_t *ast); -Text_t compile_type(type_t *t); -Text_t compile_type_info(type_t *t); +Text_t with_source_info(env_t *env, ast_t *ast, Text_t code); // vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1,\:0 -- cgit v1.2.3