mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-31 10:19:24 -04:00
adding pegmarkdown support library.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs-b1@5953 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
4413536926
commit
3be22536df
107 changed files with 20038 additions and 0 deletions
13
supportlibs/pegmarkdown/peg-0.1.9/examples/localctx.c
Normal file
13
supportlibs/pegmarkdown/peg-0.1.9/examples/localctx.c
Normal file
|
@ -0,0 +1,13 @@
|
|||
#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;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue