Fixed stack overflow bug in get ParseError.errorOffset.