diff options
author | Bad Diode <bd@badd10de.dev> | 2022-04-18 15:51:53 -0300 |
---|---|---|
committer | Bad Diode <bd@badd10de.dev> | 2022-04-18 15:51:53 -0300 |
commit | dcd3192e50d7b4ea333ecf57a7e8b325af145547 (patch) | |
tree | f07b4adabcd9220be7846694a9e1cbfcbac7edfc /src/errors.h | |
parent | 891ea6836072a1201083669a8a212b03af0c2d5c (diff) | |
download | bdl-dcd3192e50d7b4ea333ecf57a7e8b325af145547.tar.gz bdl-dcd3192e50d7b4ea333ecf57a7e8b325af145547.zip |
Add a more rich symbol table value and typecheck funcall args
Diffstat (limited to 'src/errors.h')
-rw-r--r-- | src/errors.h | 2 |
1 files changed, 2 insertions, 0 deletions
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 { | |||
32 | ERR_WRONG_TYPE_T_F, | 32 | ERR_WRONG_TYPE_T_F, |
33 | ERR_WRONG_TYPE_NUM, | 33 | ERR_WRONG_TYPE_NUM, |
34 | ERR_WRONG_TYPE_BOOL, | 34 | ERR_WRONG_TYPE_BOOL, |
35 | ERR_WRONG_TYPE_FUN, | ||
35 | ERR_TYPE_MISMATCH, | 36 | ERR_TYPE_MISMATCH, |
37 | ERR_BAD_ARGS, | ||
36 | ERR_OK, | 38 | ERR_OK, |
37 | } ErrorValue; | 39 | } ErrorValue; |
38 | 40 | ||