Check that all the content has been consumed by the parser.