aboutsummaryrefslogtreecommitdiff
path: root/compile.h
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2024-04-20 14:55:27 -0400
committerBruce Hill <bruce@bruce-hill.com>2024-04-20 14:55:27 -0400
commitff3e1c13284ba25841e35eccf435a15f8d17b1b9 (patch)
tree45cdd90c3ecf0d0ca576e9fbc983a8414b2d384d /compile.h
parente33aff908b77f43309e61634985c03551ab9cd10 (diff)
Move arg parsing to inline logic in main() function
Diffstat (limited to 'compile.h')
-rw-r--r--compile.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/compile.h b/compile.h
index 6be4a997..205d5517 100644
--- a/compile.h
+++ b/compile.h
@@ -11,6 +11,7 @@
typedef struct {
const char *module_name;
+ env_t *env;
CORD header, c_file, object_files;
} module_code_t;
@@ -23,5 +24,6 @@ CORD compile(env_t *env, ast_t *ast);
void compile_namespace(env_t *env, const char *ns_name, ast_t *block);
CORD compile_statement(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);
// vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1,\:0