2 #include "php_psi_stdinc.h"
10 /* rename lemon symbols, works better than DEF(%name) */
11 #define ParseAlloc psi_parser_proc_init_ex
12 #define Parse psi_parser_proc_parse
13 #define ParseTrace psi_parser_proc_trace
14 #define ParseFree psi_parser_proc_free_ex
17 void *ParseAlloc(void *(*mallocProc)(size_t));
18 void ParseFree(void *p, void (*freeProc)(void*));
21 void *psi_parser_proc_init(void)
23 return ParseAlloc(malloc);
26 void psi_parser_proc_free(void **parser_proc)
29 ParseFree(*parser_proc, free);