From 5f36ef27e6b6df9a1577d766ed54bb71a6ca24eb Mon Sep 17 00:00:00 2001 From: Viktor Daniv Date: Sat, 26 Oct 2024 19:39:27 +0000 Subject: [PATCH] Update a1/program.c --- a1/program.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); }