From 520c2fb59d3d386a6ad468ea6bc6768c42e39a2d Mon Sep 17 00:00:00 2001 From: "kr.angelov" Date: Sun, 5 May 2013 10:30:06 +0000 Subject: [PATCH] fix the leftcorner filtering after the addition of word completion --- src/runtime/c/pgf/parser.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/runtime/c/pgf/parser.c b/src/runtime/c/pgf/parser.c index c1362b88d..ba75b965f 100644 --- a/src/runtime/c/pgf/parser.c +++ b/src/runtime/c/pgf/parser.c @@ -1054,9 +1054,9 @@ pgf_parsing_bu_filter(PgfParseState* before, PgfParseState* after, return false; } - if (after != NULL && after->ts->lexicon_idx != NULL) { + if (after != NULL && after->ts->fn->get_lexicon_idx(after->ts) != NULL) { PgfFilterFn clo = {{ pgf_parsing_bu_filter_iter }, before->ps->concr, cfc, true}; - gu_map_iter(after->ts->lexicon_idx, &clo.fn, NULL); + gu_map_iter(after->ts->fn->get_lexicon_idx(after->ts), &clo.fn, NULL); return clo.filter; } #endif