diff --git a/src/runtime/c/pgf/parser.cxx b/src/runtime/c/pgf/parser.cxx index 45f9c78b9..e6693b1bc 100644 --- a/src/runtime/c/pgf/parser.cxx +++ b/src/runtime/c/pgf/parser.cxx @@ -1296,6 +1296,16 @@ void PgfParser::suspend(State *state,ref lincat,Item *item) process(new_item, state->start, false); }; phrasetable_iter(concr->phrasetable,lincat,f); + } else { + auto it1 = state->completed.find(cont); + if (it1 != state->completed.end()) { + for (auto it2 : it1->second) { + for (auto it3 : it2.second) { + Item *new_item = new (item) Item; + combine(state, new_item, it3.second); + } + } + } } }