Fix parseerror event.
Merge remote-tracking branch 'upstream/master'

* upstream/master:
  Fix parseerror event.
Update to latest.