a
This commit is contained in:
parent
f07770fe29
commit
5918eae042
@ -38,7 +38,7 @@ int main(void) {
|
|||||||
}
|
}
|
||||||
else if (ch == ')' || ch == '}' || ch == ']' || ch == '>') {
|
else if (ch == ')' || ch == '}' || ch == ']' || ch == '>') {
|
||||||
if (top < 0) {
|
if (top < 0) {
|
||||||
printf("Unexpected closing bracket %c in %d \n", ch, i);
|
printf("Unexpected closing bracket %c in %d\n", ch, i);
|
||||||
ok = 0;
|
ok = 0;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user