Update a1/program.c
This commit is contained in:
parent
f0493d90a8
commit
f45167c904
@ -41,7 +41,7 @@ void check_brackets(const char *code) {
|
||||
char top = stack[stack_top--];
|
||||
char expected = expected_close(top);
|
||||
if (expected != c) {
|
||||
printf("Crossed bracket %c in %d, expected %c\n", c, i, expected);
|
||||
printf("Crossed bracket %c in %d, expected %c \n", c, i, expected);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user