Update a1/program.c
This commit is contained in:
parent
5f36ef27e6
commit
01b81fb504
@ -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 bracket for %c\n", stack[stack_top]);
|
||||
printf("Missing closing bracket: %c\n", stack[stack_top]);
|
||||
} else {
|
||||
printf("All brackets OK\n");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user