forked from GitHub/gf-core
bugfix in the debug mode for the parser
This commit is contained in:
@@ -1022,10 +1022,10 @@ pgf_parsing_complete(PgfParsing* ps, PgfItem* item, PgfExprProb *ep)
|
|||||||
GuExn* err = gu_exn(NULL, type, tmp_pool);
|
GuExn* err = gu_exn(NULL, type, tmp_pool);
|
||||||
if (tmp_ccat == NULL) {
|
if (tmp_ccat == NULL) {
|
||||||
gu_printf(out, err, "[");
|
gu_printf(out, err, "[");
|
||||||
pgf_print_range(conts->state, before, out, err);
|
pgf_print_range(item->conts->state, ps->before, out, err);
|
||||||
gu_printf(out, err, "; C%d; %d; C%d]\n",
|
gu_printf(out, err, "; C%d; %d; C%d]\n",
|
||||||
conts->ccat->fid,
|
item->conts->ccat->fid,
|
||||||
conts->lin_idx,
|
item->conts->lin_idx,
|
||||||
ccat->fid);
|
ccat->fid);
|
||||||
}
|
}
|
||||||
pgf_print_production(ccat->fid, prod, out, err, tmp_pool);
|
pgf_print_production(ccat->fid, prod, out, err, tmp_pool);
|
||||||
|
|||||||
Reference in New Issue
Block a user