From c811a743a1528db1d05970e1aa14162ef7c70b75 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sat, 21 Sep 2019 13:59:39 +0200 Subject: Implement vararg, verify arguments to parameters --- include/compiler.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/compiler.h') 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; -- cgit v1.2.3