diff --git a/a1/program.c b/a1/program.c index 30b08f9..2bef3ed 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("Unmatched bracket at the end\n"); + printf("Missing closing brackets: %c", top); } else { printf("All brackets OK\n"); }