Make the generated parser functions use the parser struct as their
receiver. This makes it possible to use a "custom" entry point if
we don't want to use the default one.