RetroShare/supportlibs/pegmarkdown/peg-0.1.9/examples/localctx.c

14 lines
172 B
C
Raw Permalink Normal View History

#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;
}