fix s nespravnymi operatormi 3
This commit is contained in:
parent
4c4d4a5868
commit
e67bc5e4a8
@ -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++;
|
||||||
|
Loading…
Reference in New Issue
Block a user