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