ref: 5e0acc3b77861587b89d7fd2c5da6f160d012209 dir: /examples/localctx.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; }