diff --git a/build/expression.c b/build/expression.c index 6f62ca6..f12618b 100644 --- a/build/expression.c +++ b/build/expression.c @@ -346,6 +346,8 @@ static Value doPrimary(ParseState state) rpmError(RPMERR_BADSPEC, _("unmatched (\n")); return NULL; } + if (rdToken(state, 1)) + return NULL; break; case TOK_INTEGER: