Update a1/program.c
This commit is contained in:
parent
37711fc39e
commit
95f6f3844d
@ -50,7 +50,7 @@ int main() {
|
|||||||
}
|
}
|
||||||
if (!isMatching(stack[top], current)) {
|
if (!isMatching(stack[top], current)) {
|
||||||
char expected = expectedClosing(stack[top]);
|
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;
|
return 0;
|
||||||
}
|
}
|
||||||
top--;
|
top--;
|
||||||
|
Loading…
Reference in New Issue
Block a user