From 18dec4857d5b84809f75649f283db65154188329 Mon Sep 17 00:00:00 2001 From: Viktor Daniv Date: Sat, 26 Oct 2024 19:51:06 +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 b712df4..7ecb597 100644 --- a/a1/program.c +++ b/a1/program.c @@ -35,7 +35,7 @@ void check_brackets(const char *code) { // Якщо закрита дужка 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--];