Initializacia
This commit is contained in:
parent
3a54e83d46
commit
6c0c3cfee5
@ -60,7 +60,7 @@ void check_brackets(const char *line) {
|
|||||||
} else if (stack[stack_top].bracket == matching_bracket(ch)) {
|
} else if (stack[stack_top].bracket == matching_bracket(ch)) {
|
||||||
stack_top--;
|
stack_top--;
|
||||||
} else {
|
} else {
|
||||||
printf("Crossed bracket %c in %d, expected %c\n", ch, i,
|
printf("Crossed bracket %c in %d, expected %c\n ", ch, i,
|
||||||
expected_closing(stack[stack_top].bracket));
|
expected_closing(stack[stack_top].bracket));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user