libpgf: fix in the parser debugger

This commit is contained in:
kr.angelov
2012-02-28 13:12:38 +00:00
parent 15b3da98c6
commit 3aa26948de

View File

@@ -166,7 +166,7 @@ pgf_print_item(PgfItem* item, GuWriter* wtr, GuExn* err)
PgfPArg arg = gu_seq_get(item->args, PgfPArg, i);
gu_printf(wtr, err,
((i < gu_seq_length(item->args)-1) ? "C%d," : "C%d"),
((arg.ccat == NULL) ? 0 : arg.ccat->fid));
arg.ccat->fid);
}
gu_printf(wtr, err, "]; %d : ",item->base->lin_idx);
PgfSequence seq = fun->lins[item->base->lin_idx];