From 5760b56ea06b561fc2a778b02cc0e803d1b8ea5b Mon Sep 17 00:00:00 2001 From: Viktor Daniv Date: Sat, 26 Oct 2024 19:33:35 +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 1b6dfad..30b08f9 100644 --- a/a1/program.c +++ b/a1/program.c @@ -32,7 +32,7 @@ void check_brackets(const char *code) { // Ak je znak zatváracia zátvorka else if (c == ')' || c == '}' || c == ']' || c == '>') { if (stack_top < 0) { - printf("Unexpected closing bracket %c at position %d\n", c, i); + printf("Unexpected closing bracket %c in %d\n", c, i); return; } char top = stack[stack_top--];