diff --git a/a1/program.c b/a1/program.c index 3a9e3b1..1d0dc9e 100644 --- a/a1/program.c +++ b/a1/program.c @@ -60,7 +60,7 @@ void check_brackets(const char *line) { } else if (stack[stack_top].bracket == matching_bracket(ch)) { stack_top--; } else { - printf("Crossed bracket %c in %d, expected %c\n", ch, i, + printf("Crossed bracket %c in %d, expected %c\n ", ch, i, expected_closing(stack[stack_top].bracket)); return; }