Initializacia
This commit is contained in:
parent
3a54e83d46
commit
a5e76d9e90
@ -60,7 +60,7 @@ void check_brackets(const char *line) {
|
|||||||
} else if (stack[stack_top].bracket == matching_bracket(ch)) {
|
} else if (stack[stack_top].bracket == matching_bracket(ch)) {
|
||||||
stack_top--;
|
stack_top--;
|
||||||
} else {
|
} else {
|
||||||
printf("Crossed bracket %c in %d, expected %c\n", ch, i,
|
printf("Crossed bracket %c in %d, expected %c \n", ch, i,
|
||||||
expected_closing(stack[stack_top].bracket));
|
expected_closing(stack[stack_top].bracket));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@ -89,3 +89,4 @@ int main() {
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user