aboutsummaryrefslogtreecommitdiff
path: root/compile.h
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2024-10-30 14:02:34 -0400
committerBruce Hill <bruce@bruce-hill.com>2024-10-30 14:02:34 -0400
commitfb683a2b1b962da4f00eb86c57b9c75fbcdf9908 (patch)
treeb8d3cb84bcc1d0255cba900f32e037d6f575a3d0 /compile.h
parentbdca4fc6e1d3a9ce1306313528067f012a60341b (diff)
Organize typedef headers so the typedefs come before the namespace
members
Diffstat (limited to 'compile.h')
-rw-r--r--compile.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/compile.h b/compile.h
index 2a352f8e..d6c06484 100644
--- a/compile.h
+++ b/compile.h
@@ -17,7 +17,8 @@ CORD compile(env_t *env, ast_t *ast);
void compile_namespace(env_t *env, const char *ns_name, ast_t *block);
CORD compile_namespace_header(env_t *env, const char *ns_name, ast_t *block);
CORD compile_statement(env_t *env, ast_t *ast);
-CORD compile_statement_header(env_t *env, ast_t *ast);
+CORD compile_statement_type_header(env_t *env, ast_t *ast);
+CORD compile_statement_namespace_header(env_t *env, ast_t *ast);
CORD compile_type_info(env_t *env, type_t *t);
CORD compile_cli_arg_call(env_t *env, CORD fn_name, type_t *fn_type);