funguje
This commit is contained in:
parent
128593cbd0
commit
9abf1e9c6d
@ -241,7 +241,7 @@ int main()
|
||||
if (stack->arr_pos>=0)
|
||||
{
|
||||
printf("Missing closing brackets: ");
|
||||
for (size_t i = 0; i < stack->arr_pos+1; i++)
|
||||
for (int i = stack->arr_pos; i != -1; i--)
|
||||
{
|
||||
printf("%c", closed_for_opened(stack->brackets[i]));
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user