From 98ce9e4cc0bcdec07d80ae4094d6ccae99324f54 Mon Sep 17 00:00:00 2001 From: Viktor Daniv Date: Sat, 26 Oct 2024 19:47:14 +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 b059b14..ef2491a 100644 --- a/a1/program.c +++ b/a1/program.c @@ -49,7 +49,7 @@ void check_brackets(const char *code) { // Перевірка, чи всі дужки закриті if (stack_top >= 0) { - printf("Missing closing bracket: %c\n", expected_close); + printf("Missing closing bracket: %c\n", expected_close(stack[stack_top])); } else { printf("All brackets OK\n"); }