From 98b60c7f4bda9a1bb7a3657ed90c7f36244703c4 Mon Sep 17 00:00:00 2001 From: Marat Izmailov Date: Thu, 31 Oct 2024 20:58: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 a53e58f..4759fbb 100644 --- a/a1/program.c +++ b/a1/program.c @@ -60,7 +60,7 @@ int main() { // If brackets do not match, it's an error if (!isMatching(stack[top--], current)) { - printf("Crossed bracket %c in %d, expected %c\n", current, i, + printf("Crossed bracket %c in %d, expected %c \n", current, i, getExpectedClosingBracket(stack[top + 1])); return 0; }