diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2025-03-30 14:44:42 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2025-03-30 14:44:42 -0400 |
| commit | 67f088689019bfc3c731f8157e50c560fabddb04 (patch) | |
| tree | e1fa1ce523545eab7ede7f6d3924ba3d2ccd71bf /src/compile.h | |
| parent | cdbf36b63c9250c132b1fafb46b7881b4a263217 (diff) | |
Fix some relative import issues with compiled modules
Diffstat (limited to 'src/compile.h')
| -rw-r--r-- | src/compile.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/compile.h b/src/compile.h index 4256ab5d..ae9e510b 100644 --- a/src/compile.h +++ b/src/compile.h @@ -7,17 +7,18 @@ #include <stdio.h> #include "environment.h" +#include "stdlib/datatypes.h" CORD expr_as_text(CORD expr, type_t *t, CORD color); CORD compile_file(env_t *env, ast_t *ast); -CORD compile_file_header(env_t *env, ast_t *ast); +CORD compile_file_header(env_t *env, Path_t header_path, ast_t *ast); CORD compile_declaration(type_t *t, const char *name); CORD compile_type(type_t *t); CORD compile(env_t *env, ast_t *ast); 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_type_header(env_t *env, ast_t *ast); -CORD compile_statement_namespace_header(env_t *env, ast_t *ast); +CORD compile_statement_type_header(env_t *env, Path_t header_path, ast_t *ast); +CORD compile_statement_namespace_header(env_t *env, Path_t header_path, ast_t *ast); CORD compile_type_info(type_t *t); CORD compile_cli_arg_call(env_t *env, CORD fn_name, type_t *fn_type); |
