From 0ece8f19abf4dba1d3c568aca60d2c960d75efa6 Mon Sep 17 00:00:00 2001 From: "kr.angelov" Date: Tue, 10 Dec 2013 15:00:52 +0000 Subject: loading and unloading of languages in the C runtime and in the Python bindings --- src/runtime/c/pgf/graphviz.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/runtime/c/pgf/graphviz.c') diff --git a/src/runtime/c/pgf/graphviz.c b/src/runtime/c/pgf/graphviz.c index 11ecabe40..9410c68a6 100644 --- a/src/runtime/c/pgf/graphviz.c +++ b/src/runtime/c/pgf/graphviz.c @@ -260,7 +260,10 @@ pgf_graphviz_parse_tree(PgfConcr* concr, PgfExpr expr, GuOut* out, GuExn* err) GuPool* tmp_pool = gu_local_pool(); GuEnum* cts = - pgf_lzr_concretize(concr, expr, tmp_pool); + pgf_lzr_concretize(concr, expr, err, tmp_pool); + if (!gu_ok(err)) + return; + PgfCncTree ctree = gu_next(cts, PgfCncTree, tmp_pool); if (gu_variant_is_null(ctree)) { gu_pool_free(tmp_pool); -- cgit v1.2.3