diff options
author | dec05eba <dec05eba@protonmail.com> | 2019-09-21 13:59:39 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2020-07-25 14:36:46 +0200 |
commit | c811a743a1528db1d05970e1aa14162ef7c70b75 (patch) | |
tree | 4560ab5d9084c385946415e9fc2dbf187e26c844 /include/compiler.h | |
parent | 142a13ad3f77c0ad1bd321d1a1f864a5117896d1 (diff) |
Implement vararg, verify arguments to parameters
Diffstat (limited to 'include/compiler.h')
-rw-r--r-- | include/compiler.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/compiler.h b/include/compiler.h index f6599a1..164cf4e 100644 --- a/include/compiler.h +++ b/include/compiler.h @@ -15,7 +15,7 @@ #define AMAL_COMPILER_ERR -1 #define AMAL_COMPILER_WORK_FAIL_ABORT -2 -#define NUM_ARITHMETIC_TYPES 10 +#define NUM_ARITHMETIC_TYPES 14 typedef struct { LhsExpr lhs_expr; @@ -42,6 +42,7 @@ typedef struct { amal_default_type *c_int; amal_default_type *c_long; amal_default_type *c_void; + amal_default_type *c_varargs; amal_default_type *str; |