Update a1/program.c
This commit is contained in:
parent
04fc1739b8
commit
37711fc39e
@ -50,7 +50,7 @@ int main() {
|
||||
}
|
||||
if (!isMatching(stack[top], current)) {
|
||||
char expected = expectedClosing(stack[top]);
|
||||
printf("Crossed bracket '%c' in %d, expected '%c'\n", current, i, expected);
|
||||
printf("Crossed bracket %c in %d, expected %c\n", current, i, expected);
|
||||
return 0;
|
||||
}
|
||||
top--;
|
||||
|
Loading…
Reference in New Issue
Block a user