libpgf: simple fix in the grammar printer and the reader

This commit is contained in:
kr.angelov
2012-02-24 13:52:21 +00:00
parent a3cab384e3
commit 0faffc6ffd
2 changed files with 3 additions and 1 deletions

View File

@@ -123,7 +123,7 @@ pgf_print_productions(GuMapItor* fn, const void* key, void* value,
}
case PGF_PRODUCTION_COERCE: {
PgfProductionCoerce* pcoerce = i.data;
gu_printf(wtr,err,"_[C%d]\n",pcoerce->coerce);
gu_printf(wtr,err,"_[C%d]\n",pcoerce->coerce->fid);
break;
}
default: