diff options
| author | kr.angelov <kr.angelov@gmail.com> | 2013-05-31 09:13:16 +0000 |
|---|---|---|
| committer | kr.angelov <kr.angelov@gmail.com> | 2013-05-31 09:13:16 +0000 |
| commit | 1ce5fa3663f623289905e4ce6935bcc9c907c5dd (patch) | |
| tree | d86e89f6325439cecaea595e343127a312a444f2 /src/runtime/python/pypgf.c | |
| parent | 0ede1365dc1045217145efb2c947ae2b8c1263c8 (diff) | |
improved error message in the Python binding
Diffstat (limited to 'src/runtime/python/pypgf.c')
| -rw-r--r-- | src/runtime/python/pypgf.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |
