summaryrefslogtreecommitdiff
path: root/src/runtime/c/pgf/printer.c
diff options
context:
space:
mode:
authorkr.angelov <kr.angelov@gmail.com>2012-02-24 13:52:21 +0000
committerkr.angelov <kr.angelov@gmail.com>2012-02-24 13:52:21 +0000
commit1d239ab567f7ecbdec338563719ef19d9211a6e8 (patch)
tree1dd913b48ee6329e364bd1f2fbe9478f6d793c53 /src/runtime/c/pgf/printer.c
parentaa7668ef752c0bf2419780b2ec7581a29fa3afd1 (diff)
libpgf: simple fix in the grammar printer and the reader
Diffstat (limited to 'src/runtime/c/pgf/printer.c')
-rw-r--r--src/runtime/c/pgf/printer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/c/pgf/printer.c b/src/runtime/c/pgf/printer.c
index 3d13147b6..058375f33 100644
--- a/src/runtime/c/pgf/printer.c
+++ b/src/runtime/c/pgf/printer.c
@@ -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: