diff --git a/a1/program.c b/a1/program.c index 2be3bf6..c2d2acb 100644 --- a/a1/program.c +++ b/a1/program.c @@ -77,7 +77,7 @@ int main() cs=pop_stack(&mystack); else { - printf("Unexpected closing bracket\n"); + printf("Unexpected closing bracket %c in %d\n", c,i); is_ok=false; } if(c=='>' && cs!='<')