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; }