diff options
author | Bad Diode <bd@badd10de.dev> | 2022-04-18 12:30:42 -0300 |
---|---|---|
committer | Bad Diode <bd@badd10de.dev> | 2022-04-18 12:30:42 -0300 |
commit | 891ea6836072a1201083669a8a212b03af0c2d5c (patch) | |
tree | fdd6d8b274ccdb396bd5ad28006ce88eb894ed37 /src/errors.c | |
parent | 140cd959daabf5c18b9cccc210a58ab50351e884 (diff) | |
download | bdl-891ea6836072a1201083669a8a212b03af0c2d5c.tar.gz bdl-891ea6836072a1201083669a8a212b03af0c2d5c.zip |
Refactor to remove redundant symbol_check function
Diffstat (limited to 'src/errors.c')
-rw-r--r-- | src/errors.c | 1 |
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 | ||
29 | static Error current_error = {.value = ERR_OK}; | 30 | static Error current_error = {.value = ERR_OK}; |