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