expect(()=>{peg.generate(["start = "+e+":end","end = 'a'"].join("\n"),{output:"source"})}).to.throw(peg.parser.SyntaxError)