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 b93b462..2781bf5 100644 --- a/src/errors.c +++ b/src/errors.c | |||
@@ -15,6 +15,8 @@ static const char* error_msgs[] = { | |||
15 | [ERR_NOT_A_BOOL] = "error: expected a bool", | 15 | [ERR_NOT_A_BOOL] = "error: expected a bool", |
16 | [ERR_NOT_A_LPAREN] = "error: expected opening parentheses (lparen)", | 16 | [ERR_NOT_A_LPAREN] = "error: expected opening parentheses (lparen)", |
17 | [ERR_NOT_A_RPAREN] = "error: expected closing parentheses (rparen)", | 17 | [ERR_NOT_A_RPAREN] = "error: expected closing parentheses (rparen)", |
18 | [ERR_SYMBOL_REDEF] = "error: symbol redefinition", | ||
19 | [ERR_UNKNOWN_SYMBOL] = "error: unknown symbol", | ||
18 | }; | 20 | }; |
19 | 21 | ||
20 | static Error current_error = {.value = ERR_OK}; | 22 | static Error current_error = {.value = ERR_OK}; |