bug fix in the management of memory pools in the statistical parser

This commit is contained in:
kr.angelov
2013-05-07 08:30:32 +00:00
parent 561e478ed4
commit 2eb37f6407
5 changed files with 23 additions and 26 deletions

View File

@@ -115,7 +115,7 @@ int main(int argc, char* argv[]) {
// Begin parsing a sentence of the specified category
PgfParseState* state =
pgf_parser_init_state(concr, cat, 0, ppool);
pgf_parser_init_state(concr, cat, 0, ppool, ppool);
if (state == NULL) {
fprintf(stderr, "Couldn't begin parsing\n");
status = EXIT_FAILURE;