From 90c3304147e3829b9ea7f73085e54d9d0811ca8b Mon Sep 17 00:00:00 2001 From: "kr.angelov" Date: Mon, 11 Feb 2013 13:51:12 +0000 Subject: remove the pgf2yaml tool which was both broken and redundant. The declarations for generic programming from data.c are removed as well --- src/runtime/c/pgf/printer.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/runtime/c/pgf/printer.c') 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); -- cgit v1.2.3