From dcd3192e50d7b4ea333ecf57a7e8b325af145547 Mon Sep 17 00:00:00 2001 From: Bad Diode Date: Mon, 18 Apr 2022 15:51:53 -0300 Subject: Add a more rich symbol table value and typecheck funcall args --- src/errors.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/errors.h') diff --git a/src/errors.h b/src/errors.h index a814549..f2737d0 100644 --- a/src/errors.h +++ b/src/errors.h @@ -32,7 +32,9 @@ typedef enum ErrorValue { ERR_WRONG_TYPE_T_F, ERR_WRONG_TYPE_NUM, ERR_WRONG_TYPE_BOOL, + ERR_WRONG_TYPE_FUN, ERR_TYPE_MISMATCH, + ERR_BAD_ARGS, ERR_OK, } ErrorValue; -- cgit v1.2.1