diff options
| author | kr.angelov <kr.angelov@gmail.com> | 2013-11-22 12:26:49 +0000 |
|---|---|---|
| committer | kr.angelov <kr.angelov@gmail.com> | 2013-11-22 12:26:49 +0000 |
| commit | 1d2786f7da2c94bbba063137b13d639f552d5f7e (patch) | |
| tree | 31df091a437d1bba037c0ec56a82a02d3b543d6a /src/runtime/c/pgf/parser.c | |
| parent | 260c0dfedcd7e50368bcbd651f4c71d425af244a (diff) | |
bugfix in the debug mode for the parser
Diffstat (limited to 'src/runtime/c/pgf/parser.c')
| -rw-r--r-- | src/runtime/c/pgf/parser.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/runtime/c/pgf/parser.c b/src/runtime/c/pgf/parser.c index 4570d2538..676e0ca29 100644 --- a/src/runtime/c/pgf/parser.c +++ b/src/runtime/c/pgf/parser.c @@ -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); |
