fix s nespravnymi operatormi 3

This commit is contained in:
Aleš Novysedlák 2025-03-10 14:36:13 +01:00
parent 4c4d4a5868
commit e67bc5e4a8

View File

@ -28,7 +28,7 @@ int main() {
index++; index++;
continue; continue;
} }
if ((isalpha(buffer[index]) || strchr(".+-*/=123456789\n", buffer[index]) == NULL) && !error) { if ((isalpha(buffer[index]) || strchr(".+-*/=0123456789\n", buffer[index]) == NULL) && !error) {
error = 1; error = 1;
strcpy(output[output_length], "CHYBA"); strcpy(output[output_length], "CHYBA");
output_length++; output_length++;