From 1ce5fa3663f623289905e4ce6935bcc9c907c5dd Mon Sep 17 00:00:00 2001 From: "kr.angelov" Date: Fri, 31 May 2013 09:13:16 +0000 Subject: [PATCH] improved error message in the Python binding --- src/runtime/python/pypgf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/runtime/python/pypgf.c b/src/runtime/python/pypgf.c index 73210fdcc..e1e360dce 100644 --- a/src/runtime/python/pypgf.c +++ b/src/runtime/python/pypgf.c @@ -1156,7 +1156,7 @@ Concr_bracketedLinearize(ConcrObject* self, PyObject *args) pgf_lzr_concretize(self->concr, pyexpr->expr, tmp_pool); PgfCncTree ctree = gu_next(cts, PgfCncTree, tmp_pool); if (gu_variant_is_null(ctree)) { - PyErr_SetString(PGFError, "The abstract tree cannot be linearized"); + PyErr_SetString(PGFError, "The abstract tree cannot be concretized"); gu_pool_free(tmp_pool); return NULL; }