added fix for new peg versions where the 'toSource()' function is removed from the generated parser