Update a1/program.c

This commit is contained in:
Yurii Yakovenko 2024-10-25 20:11:08 +00:00
parent 170e183857
commit fedad5501d

View File

@ -77,7 +77,7 @@ int main()
cs=pop_stack(&mystack); cs=pop_stack(&mystack);
else else
{ {
printf("Unexpected closing bracket\n"); printf("Unexpected closing bracket %c in %d\n", c,i);
is_ok=false; is_ok=false;
} }
if(c=='>' && cs!='<') if(c=='>' && cs!='<')