Ensure that the parser is finished and did not error
Merge pull request #9 from dstufft/ensure-finished-non-errored

Ensure that the parser is finished and did not error