use linref in the C linearizer. The robust linearization is now fully supported

This commit is contained in:
kr.angelov
2013-10-30 21:43:52 +00:00
parent 48b639e64e
commit fed16ca9e5
3 changed files with 140 additions and 66 deletions

View File

@@ -215,18 +215,3 @@ pgf_print_name(PgfConcr* concr, PgfCId id)
name = id;
return name;
}
void
pgf_linearize(PgfConcr* concr, PgfExpr expr, GuOut* out, GuExn* err)
{
GuPool* tmp_pool = gu_local_pool();
GuEnum* cts =
pgf_lzr_concretize(concr, expr, tmp_pool);
PgfCncTree ctree = gu_next(cts, PgfCncTree, tmp_pool);
if (!gu_variant_is_null(ctree)) {
pgf_lzr_linearize_simple(concr, ctree, 0, out, err);
}
gu_pool_free(tmp_pool);
}