From ff3e1c13284ba25841e35eccf435a15f8d17b1b9 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Sat, 20 Apr 2024 14:55:27 -0400 Subject: Move arg parsing to inline logic in main() function --- compile.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'compile.h') 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 -- cgit v1.2.3