mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-24 02:12:50 -06:00
bugfix in parsing literals
This commit is contained in:
@@ -1380,7 +1380,7 @@ pgf_parsing_symbol(PgfParsing* ps, PgfItem* item, PgfSymbol sym)
|
|||||||
PgfSymbols* syms =
|
PgfSymbols* syms =
|
||||||
pgf_collect_extern_tok(ps, start, offset);
|
pgf_collect_extern_tok(ps, start, offset);
|
||||||
|
|
||||||
size_t n_lins = item->conts->ccat->cnccat->n_lins;
|
size_t n_lins = conts->ccat->cnccat->n_lins;
|
||||||
|
|
||||||
PgfProduction prod;
|
PgfProduction prod;
|
||||||
PgfProductionExtern* pext =
|
PgfProductionExtern* pext =
|
||||||
@@ -1394,7 +1394,7 @@ pgf_parsing_symbol(PgfParsing* ps, PgfItem* item, PgfSymbol sym)
|
|||||||
for (size_t i = 0; i < n_lins; i++) {
|
for (size_t i = 0; i < n_lins; i++) {
|
||||||
pext->lins[i] = NULL;
|
pext->lins[i] = NULL;
|
||||||
}
|
}
|
||||||
pext->lins[item->conts->lin_idx] = syms;
|
pext->lins[conts->lin_idx] = syms;
|
||||||
|
|
||||||
PgfItem* item =
|
PgfItem* item =
|
||||||
pgf_new_item(ps, conts, prod);
|
pgf_new_item(ps, conts, prod);
|
||||||
|
|||||||
Reference in New Issue
Block a user