ref: 05fc65bb32ecb4cfa80754ee36a2fb1e8d33c356 dir: /examples/localpeg.c/
#include <stdio.h> #define YY_CTX_LOCAL #include "test.peg.c" int main() { yycontext ctx; memset(&ctx, 0, sizeof(yycontext)); while (yyparse(&ctx)); return 0; }