diff options
author | Bad Diode <bd@badd10de.dev> | 2022-04-09 08:22:31 -0300 |
---|---|---|
committer | Bad Diode <bd@badd10de.dev> | 2022-04-09 08:22:31 -0300 |
commit | ab3e064c6f90ec94daad99b5a4c56e0abbcc79bb (patch) | |
tree | 597b3d8a3d10ea5914bb86d6c3774bde1b333eeb /src/errors.h | |
parent | 233dd92768a54060df9096558aa58c1f598cce7d (diff) | |
download | bdl-ab3e064c6f90ec94daad99b5a4c56e0abbcc79bb.tar.gz bdl-ab3e064c6f90ec94daad99b5a4c56e0abbcc79bb.zip |
Add more type rules and numeric type coercion
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 a84305b..3c85307 100644 --- a/src/errors.h +++ b/src/errors.h | |||
@@ -30,6 +30,8 @@ typedef enum ErrorValue { | |||
30 | ERR_WRONG_RET_TYPE, | 30 | ERR_WRONG_RET_TYPE, |
31 | ERR_WRONG_COND_TYPE, | 31 | ERR_WRONG_COND_TYPE, |
32 | ERR_WRONG_TYPE_T_F, | 32 | ERR_WRONG_TYPE_T_F, |
33 | ERR_WRONG_TYPE_NUM, | ||
34 | ERR_WRONG_TYPE_BOOL, | ||
33 | ERR_OK, | 35 | ERR_OK, |
34 | } ErrorValue; | 36 | } ErrorValue; |
35 | 37 | ||