aboutsummaryrefslogtreecommitdiffstats
path: root/src/errors.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/errors.c')
-rw-r--r--src/errors.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/errors.c b/src/errors.c
index 3974281..e2dee00 100644
--- a/src/errors.c
+++ b/src/errors.c
@@ -24,6 +24,7 @@ static const char* error_msgs[] = {
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", 25 [ERR_WRONG_TYPE_NUM] = "error: non numeric argument types",
26 [ERR_WRONG_TYPE_BOOL] = "error: non bool argument types", 26 [ERR_WRONG_TYPE_BOOL] = "error: non bool argument types",
27 [ERR_TYPE_MISMATCH] = "error: type mismatch",
27}; 28};
28 29
29static Error current_error = {.value = ERR_OK}; 30static Error current_error = {.value = ERR_OK};