diff options
Diffstat (limited to 'src/runtime/c/pgf/linearizer.c')
| -rw-r--r-- | src/runtime/c/pgf/linearizer.c | 40 |
1 files changed, 1 insertions, 39 deletions
diff --git a/src/runtime/c/pgf/linearizer.c b/src/runtime/c/pgf/linearizer.c index 30dab086d..68a2e1415 100644 --- a/src/runtime/c/pgf/linearizer.c +++ b/src/runtime/c/pgf/linearizer.c @@ -70,44 +70,6 @@ typedef struct { } PgfCnc; -// -// PgfCncTree -// - -typedef enum { - PGF_CNC_TREE_APP, - PGF_CNC_TREE_CHUNKS, - PGF_CNC_TREE_LIT, -} PgfCncTreeTag; - -typedef struct { - PgfCCat* ccat; - PgfCncFun* fun; - int fid; - - size_t n_vars; - PgfPrintContext* context; - - size_t n_args; - PgfCncTree args[]; -} PgfCncTreeApp; - -typedef struct { - size_t n_vars; - PgfPrintContext* context; - - size_t n_args; - PgfCncTree args[]; -} PgfCncTreeChunks; - -typedef struct { - size_t n_vars; - PgfPrintContext* context; - - int fid; - PgfLiteral lit; -} PgfCncTreeLit; - #ifdef PGF_LINEARIZER_DEBUG static void pgf_print_cnc_tree_vars(size_t n_vars, PgfPrintContext* context, @@ -128,7 +90,7 @@ pgf_print_cnc_tree_vars(size_t n_vars, PgfPrintContext* context, } } -static void +PGF_INTERNAL void pgf_print_cnc_tree(PgfCncTree ctree, GuOut* out, GuExn* err) { GuVariantInfo ti = gu_variant_open(ctree); |
