diff options
Diffstat (limited to 'src/errors.c')
-rw-r--r-- | src/errors.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/errors.c b/src/errors.c index b987b34..3974281 100644 --- a/src/errors.c +++ b/src/errors.c | |||
@@ -22,6 +22,8 @@ static const char* error_msgs[] = { | |||
22 | [ERR_WRONG_RET_TYPE] = "error: return type don't match type signature", | 22 | [ERR_WRONG_RET_TYPE] = "error: return type don't match type signature", |
23 | [ERR_WRONG_COND_TYPE] = "error: conditional expression is not boolean", | 23 | [ERR_WRONG_COND_TYPE] = "error: conditional expression is not boolean", |
24 | [ERR_WRONG_TYPE_T_F] = "error: unmatched types between true and false expression", | 24 | [ERR_WRONG_TYPE_T_F] = "error: unmatched types between true and false expression", |
25 | [ERR_WRONG_TYPE_NUM] = "error: non numeric argument types", | ||
26 | [ERR_WRONG_TYPE_BOOL] = "error: non bool argument types", | ||
25 | }; | 27 | }; |
26 | 28 | ||
27 | static Error current_error = {.value = ERR_OK}; | 29 | static Error current_error = {.value = ERR_OK}; |