lexer adding is_number

This commit is contained in:
hugogogo
2026-04-28 23:42:25 +02:00
parent fb81f200d9
commit 5108571deb
4 changed files with 152 additions and 11 deletions

View File

@@ -7,7 +7,9 @@ int stop_errors(int err)
case ERROR_UNKNOWN_TOKEN:
ft_putstr_fd("error: unknown token\n", STDERR_FILENO);
break;
case ERROR_NUMBER_TOO_BIG:
ft_putstr_fd("error: number is too big\n", STDERR_FILENO);
break;
default:
ft_putstr_fd("unknown error\n", STDERR_FILENO);
break;