X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=src%2Fparser.re;h=10279ed7674f52f618a92f0eb8601b6fcb0c926c;hb=6b2e6562e64a263a42910d28e23b6ca94f3ecb65;hp=61c328d815bab5f210b772c806f6fc60b9b02736;hpb=e8a409b21cb50f5931ab02ce6ab4f4406be94394;p=m6w6%2Fext-psi diff --git a/src/parser.re b/src/parser.re index 61c328d..10279ed 100644 --- a/src/parser.re +++ b/src/parser.re @@ -37,8 +37,8 @@ PSI_Parser *PSI_ParserInit(PSI_Parser *P, const char *filename, psi_error_cb err P->line = 1; P->error = error; P->flags = flags; - P->proc = PSI_ParserProcAlloc(malloc); + if (flags & PSI_PARSER_DEBUG) { PSI_ParserProcTrace(stderr, "PSI> "); }