Update a1/program.c

This commit is contained in:
Viktor Daniv 2024-10-26 19:39:27 +00:00
parent 02119d68d9
commit 5f36ef27e6

View File

@ -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");
}