8
This commit is contained in:
parent
23cf99cf01
commit
cef3425769
@ -39,7 +39,7 @@ void check_brackets(const char *code) {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (!is_matching_pair(stack[top], ch)) {
|
if (!is_matching_pair(stack[top], ch)) {
|
||||||
printf("Crossed bracket %c in %d, expected %c\n", ch, i, matching_close(stack[top]));
|
printf("Crossed bracket %c in %d, expected %c \n", ch, i, matching_close(stack[top]));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
top--;
|
top--;
|
||||||
|
Loading…
Reference in New Issue
Block a user