Only swallow errors that the parser uses to manage its state.

Fixes #189.