1
0
forked from GitHub/gf-core

fix the word completion in the C runtime

This commit is contained in:
krasimir
2016-05-25 12:19:26 +00:00
parent 2a1320071c
commit a3de37f3c7

View File

@@ -1232,6 +1232,7 @@ pgf_parsing_add_transition(PgfParsing* ps, PgfToken tok, PgfItem* item)
if (gu_string_is_prefix(ps->prefix, tok)) {
ps->tp = gu_new(PgfTokenProb, ps->out_pool);
ps->tp->tok = tok;
ps->tp->cat = item->conts->ccat->cnccat->abscat->name;
ps->tp->prob = item->inside_prob + item->conts->outside_prob;
}
} else {