ref: 3b382373ac2bdfb33c20e66a4d3a9b0205c6446d 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; }