diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2019-09-20 10:32:08 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2019-11-18 12:46:29 +0200 |
commit | acbeff338b7d19d5a3d4a133237f62849cb6978a (patch) | |
tree | d8297c65137e319d9c21daba9326da190bf1d57c | |
parent | a73011485079b3d755593a1156dc0c333dd0f1f0 (diff) | |
download | rpm-acbeff338b7d19d5a3d4a133237f62849cb6978a.tar.gz |
Ensure expression syntax errors get at least a generic error message
(cherry picked from commit f008f8c70a586e7687f4e71c2df557a0e5be56df)
-rw-r--r-- | rpmio/expression.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/rpmio/expression.c b/rpmio/expression.c index 4221bb9e3..d6b019450 100644 --- a/rpmio/expression.c +++ b/rpmio/expression.c @@ -407,6 +407,7 @@ static Value doPrimary(ParseState state) goto err; default: + exprErr(state, _("syntax error in expression"), state->p); goto err; break; } |