Implemented C variadic arguments

This commit is contained in:
Krzosa Karol
2023-04-14 22:22:34 +02:00
parent fdcdc8ea86
commit 8c4975db35
9 changed files with 74 additions and 15 deletions

View File

@@ -185,6 +185,9 @@ print(f"Ast_Operator_Info op_info_table[{size}];")
Ast_Type *untyped_int = &type__untyped_int;
Ast_Type *untyped_float = &type__untyped_float;
Ast_Type type__vargs;
Ast_Type *type_vargs = &type__vargs;
Intern_String intern(String string) {
assert(string.len > 0);
return intern_string(&interns, string);