From 85efdf81e7542bb5d04b176671358135144963e9 Mon Sep 17 00:00:00 2001 From: "kr.angelov" Date: Fri, 26 Apr 2013 20:44:01 +0000 Subject: finally the statistical parser is able to return all possible abstract trees --- src/runtime/c/pgf/pgf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/runtime/c/pgf/pgf.c') diff --git a/src/runtime/c/pgf/pgf.c b/src/runtime/c/pgf/pgf.c index f0da5bddf..39d3fcfbf 100644 --- a/src/runtime/c/pgf/pgf.c +++ b/src/runtime/c/pgf/pgf.c @@ -221,7 +221,7 @@ pgf_parse(PgfConcr* concr, PgfCId cat, PgfLexer *lexer, GuPool* pool) PgfToken tok = pgf_lexer_read_token(lexer, lex_err); while (!gu_exn_is_raised(lex_err)) { // feed the token to get a new parse state - state = pgf_parser_next_state(state, tok, pool); + state = pgf_parser_next_state(state, tok); if (state == NULL) { return NULL; } @@ -252,7 +252,7 @@ pgf_print_chunks(PgfConcr* concr, PgfCId cat, PgfLexer *lexer, GuPool* pool) PgfToken tok = pgf_lexer_read_token(lexer, lex_err); while (!gu_exn_is_raised(lex_err)) { // feed the token to get a new parse state - state = pgf_parser_next_state(state, tok, pool); + state = pgf_parser_next_state(state, tok); if (state == NULL) { printf("\n"); return; -- cgit v1.2.3