Move err_allocation_failed into error.c and make it available to

everyone.
This commit is contained in:
2025-03-31 15:08:29 +02:00
parent 75fc72c35d
commit 42da7b1d05
3 changed files with 6 additions and 3 deletions

View File

@ -20,9 +20,6 @@ error_t *err_eof =
error_t *err_unknown_read = &(error_t){.message = "Unknown read error"};
error_t *err_allocation_failed =
&(error_t){.message = "Memory allocation failed"};
typedef bool (*char_predicate_t)(char);
const char *lexer_token_id_to_cstr(lexer_token_id_t id) {