Fix issue #25

Ensure the same parser can be used multiple times in a row, even if a
parsing error is found.