diff --git a/a1/program.c b/a1/program.c index 2bef3ed..631d550 100644 --- a/a1/program.c +++ b/a1/program.c @@ -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"); }