fix s nespravnymi operatormi 5
This commit is contained in:
parent
a4f88b62de
commit
b915ec9466
@ -56,7 +56,7 @@ int main() {
|
||||
equation[eq_index][eq_operand_length] = '\0';
|
||||
eq_index++;
|
||||
}
|
||||
if (operator_count < 2) {
|
||||
if (operator_count < 2 && !error) {
|
||||
error = 1;
|
||||
strcpy(output[output_length], "CHYBA");
|
||||
output_length++;
|
||||
|
Loading…
Reference in New Issue
Block a user