aboutsummaryrefslogtreecommitdiffstats
path: root/src/errors.c
diff options
context:
space:
mode:
authorBad Diode <bd@badd10de.dev>2022-04-18 12:30:42 -0300
committerBad Diode <bd@badd10de.dev>2022-04-18 12:30:42 -0300
commit891ea6836072a1201083669a8a212b03af0c2d5c (patch)
treefdd6d8b274ccdb396bd5ad28006ce88eb894ed37 /src/errors.c
parent140cd959daabf5c18b9cccc210a58ab50351e884 (diff)
downloadbdl-891ea6836072a1201083669a8a212b03af0c2d5c.tar.gz
bdl-891ea6836072a1201083669a8a212b03af0c2d5c.zip
Refactor to remove redundant symbol_check function
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};