print position of syntax error