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