Update a1/program.c
This commit is contained in:
parent
02119d68d9
commit
5f36ef27e6
@ -45,7 +45,7 @@ void check_brackets(const char *code) {
|
||||
|
||||
// Skontroluj, či sú všetky zátvorky uzavreté
|
||||
if (stack_top >= 0) {
|
||||
printf("Missing closing brackets: %c", top);
|
||||
printf("Missing closing bracket for %c\n", stack[stack_top]);
|
||||
} else {
|
||||
printf("All brackets OK\n");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user