Initializacia
This commit is contained in:
parent
2fa7918d0b
commit
3a54e83d46
@ -69,8 +69,9 @@ void check_brackets(const char *line) {
|
|||||||
|
|
||||||
if (stack_top >= 0) {
|
if (stack_top >= 0) {
|
||||||
printf("Missing closing brackets:");
|
printf("Missing closing brackets:");
|
||||||
while (stack_top >= 0) {
|
printf(" ");
|
||||||
printf(" %c", expected_closing(stack[stack_top].bracket));
|
while (stack_top >= 0) {
|
||||||
|
printf("%c", expected_closing(stack[stack_top].bracket));
|
||||||
stack_top--;
|
stack_top--;
|
||||||
}
|
}
|
||||||
printf("\n");
|
printf("\n");
|
||||||
|
Loading…
Reference in New Issue
Block a user