Initializacia

This commit is contained in:
Anton 2024-10-29 17:58:51 +01:00
parent 2fa7918d0b
commit 3a54e83d46
2 changed files with 3 additions and 2 deletions

BIN
a1/main

Binary file not shown.

View File

@ -69,8 +69,9 @@ void check_brackets(const char *line) {
if (stack_top >= 0) {
printf("Missing closing brackets:");
while (stack_top >= 0) {
printf(" %c", expected_closing(stack[stack_top].bracket));
printf(" ");
while (stack_top >= 0) {
printf("%c", expected_closing(stack[stack_top].bracket));
stack_top--;
}
printf("\n");