Return lexer positions on error.