Added line num and pos to lex exceptions