Fix some bugs and create some new ones in SimplePEGParser