Use next_token() instead of eat() after eat_until_matching_token(), because we could...
authorChristoph Mallon <christoph.mallon@gmx.de>
Fri, 2 Jan 2009 11:43:19 +0000 (11:43 +0000)
committerChristoph Mallon <christoph.mallon@gmx.de>
Fri, 2 Jan 2009 11:43:19 +0000 (11:43 +0000)
[r25039]

parser.c

index e6f2ccc..fdb9ee0 100644 (file)
--- a/parser.c
+++ b/parser.c
@@ -1550,7 +1550,7 @@ static void check_no_argument(gnu_attribute_t *attribute, const char *name)
        errorf(HERE, "wrong number of arguments specified for '%s' attribute", name);
        eat_until_matching_token('(');
        /* we have already consumed '(', so we stop before ')', eat it */
-       eat(')');
+       next_token();
        attribute->invalid = true;
 }