From 891ea6836072a1201083669a8a212b03af0c2d5c Mon Sep 17 00:00:00 2001 From: Bad Diode Date: Mon, 18 Apr 2022 12:30:42 -0300 Subject: Refactor to remove redundant symbol_check function --- src/errors.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/errors.c') 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[] = { [ERR_WRONG_TYPE_T_F] = "error: unmatched types between true and false expression", [ERR_WRONG_TYPE_NUM] = "error: non numeric argument types", [ERR_WRONG_TYPE_BOOL] = "error: non bool argument types", + [ERR_TYPE_MISMATCH] = "error: type mismatch", }; static Error current_error = {.value = ERR_OK}; -- cgit v1.2.1