diff --git a/a1/main b/a1/main index 987823d..0bc7763 100755 Binary files a/a1/main and b/a1/main differ diff --git a/a1/program.c b/a1/program.c index 3a9e3b1..c1dc6b5 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; } @@ -89,3 +89,4 @@ int main() { return 0; } +