From 8cbcacc7f72e793be182949768452b8e14d0be48 Mon Sep 17 00:00:00 2001 From: Marat Izmailov Date: Thu, 31 Oct 2024 20:56:03 +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 9560e73..a53e58f 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; }