diff options
| author | kr.angelov <kr.angelov@gmail.com> | 2013-02-11 13:51:12 +0000 |
|---|---|---|
| committer | kr.angelov <kr.angelov@gmail.com> | 2013-02-11 13:51:12 +0000 |
| commit | 90c3304147e3829b9ea7f73085e54d9d0811ca8b (patch) | |
| tree | 940fa49074899dcd6bbcc6da483671d56e52f968 /src/runtime/c/pgf/printer.c | |
| parent | 10ef298fa00bd100bc854c5c8570a550f470dde4 (diff) | |
remove the pgf2yaml tool which was both broken and redundant. The declarations for generic programming from data.c are removed as well
Diffstat (limited to 'src/runtime/c/pgf/printer.c')
| -rw-r--r-- | src/runtime/c/pgf/printer.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/runtime/c/pgf/printer.c b/src/runtime/c/pgf/printer.c index 140688eb5..cf851d386 100644 --- a/src/runtime/c/pgf/printer.c +++ b/src/runtime/c/pgf/printer.c @@ -27,7 +27,7 @@ pgf_print_cat(GuMapItor* fn, const void* key, void* value, { PgfPrintFn* clo = (PgfPrintFn*) fn; PgfCId name = *((PgfCId *) key); - PgfCat *cat = *((PgfCat **) value); + PgfAbsCat *cat = *((PgfAbsCat **) value); GuWriter *wtr = clo->wtr; gu_puts(" cat ", wtr, err); @@ -49,7 +49,7 @@ pgf_print_absfun(GuMapItor* fn, const void* key, void* value, { PgfPrintFn* clo = (PgfPrintFn*) fn; PgfCId name = *((PgfCId *) key); - PgfFunDecl *fun = *((PgfFunDecl **) value); + PgfAbsFun *fun = *((PgfAbsFun **) value); GuWriter *wtr = clo->wtr; gu_puts(gu_seq_is_null(fun->defns) ? " data " : " fun ", wtr, err); @@ -149,8 +149,8 @@ pgf_print_lindefs(GuMapItor* fn, const void* key, void* value, for (size_t i = 0; i < n_lindefs; i++) { if (i > 0) gu_putc(' ', wtr, err); - PgfFunId funid = gu_list_index(ccat->lindefs, i); - gu_printf(wtr,err,"F%d",funid->funid); + PgfCncFun* fun = gu_list_index(ccat->lindefs, i); + gu_printf(wtr,err,"F%d",fun->funid); } gu_putc('\n', wtr,err); |
