forked from GitHub/gf-core
remove three more uses of meta productions that were left in debugging mode
This commit is contained in:
@@ -270,10 +270,6 @@ pgf_item_symbols(PgfItem* item,
|
||||
}
|
||||
break;
|
||||
}
|
||||
case PGF_PRODUCTION_META: {
|
||||
*syms = pgf_extern_syms_get(item, pool);
|
||||
break;
|
||||
}
|
||||
default:
|
||||
gu_impossible();
|
||||
}
|
||||
@@ -333,13 +329,6 @@ pgf_print_production(int fid, PgfProduction prod,
|
||||
gu_printf(out,err,")[]\n");
|
||||
break;
|
||||
}
|
||||
case PGF_PRODUCTION_META: {
|
||||
PgfProductionMeta* pmeta = i.data;
|
||||
gu_printf(out,err,"<meta>[");
|
||||
pgf_print_production_args(pmeta->args,out,err);
|
||||
gu_printf(out,err,"]\n");
|
||||
break;
|
||||
}
|
||||
default:
|
||||
gu_impossible();
|
||||
}
|
||||
@@ -416,12 +405,6 @@ pgf_print_item(PgfItem* item, PgfParseState* state, GuOut* out, GuExn* err, GuPo
|
||||
gu_printf(out, err, "]; ");
|
||||
break;
|
||||
}
|
||||
case PGF_PRODUCTION_META: {
|
||||
gu_printf(out, err, "<meta>[");
|
||||
pgf_print_production_args(item->args, out, err);
|
||||
gu_printf(out, err, "]; ");
|
||||
break;
|
||||
}
|
||||
default:
|
||||
gu_impossible();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user