1
0
forked from GitHub/gf-core

bugfix in the debug mode for the parser

This commit is contained in:
kr.angelov
2013-11-22 12:26:49 +00:00
parent 260c0dfedc
commit 1d2786f7da

View File

@@ -1022,10 +1022,10 @@ pgf_parsing_complete(PgfParsing* ps, PgfItem* item, PgfExprProb *ep)
GuExn* err = gu_exn(NULL, type, tmp_pool);
if (tmp_ccat == NULL) {
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",
conts->ccat->fid,
conts->lin_idx,
item->conts->ccat->fid,
item->conts->lin_idx,
ccat->fid);
}
pgf_print_production(ccat->fid, prod, out, err, tmp_pool);