s
This commit is contained in:
parent
4dfd9de0cc
commit
3c23edb5f4
@ -31,7 +31,7 @@ void check_brackets(const char *code) {
|
|||||||
if (top == -1) {
|
if (top == -1) {
|
||||||
printf("All brackets OK\n");
|
printf("All brackets OK\n");
|
||||||
} else {
|
} else {
|
||||||
printf("Unmatched opening bracket %c\n", stack[top]);
|
printf("Missing closing brackets: %c\n", stack[top]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user