From 86ad8ff400118a103196a87a5ec43972daaec18a Mon Sep 17 00:00:00 2001 From: "Dmitry V. Levin" Date: Mon, 19 Feb 2007 23:19:03 +0000 Subject: [PATCH] build/expression.c (doPrimary): Read closing parenthesis, patch from Michael Schroeder --- build/expression.c | 2 ++ 1 file changed, 2 insertions(+) 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: