summaryrefslogtreecommitdiff
path: root/src/runtime/c
diff options
context:
space:
mode:
authorkr.angelov <kr.angelov@gmail.com>2013-05-05 10:30:06 +0000
committerkr.angelov <kr.angelov@gmail.com>2013-05-05 10:30:06 +0000
commit520c2fb59d3d386a6ad468ea6bc6768c42e39a2d (patch)
treed34064d6fbaaac70a975e2c56ac5912edd88820a /src/runtime/c
parentb8d61fcbb27b21e6793a0e253d34a714bfa0423c (diff)
fix the leftcorner filtering after the addition of word completion
Diffstat (limited to 'src/runtime/c')
-rw-r--r--src/runtime/c/pgf/parser.c4
1 files 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