projects
/
cparser
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3245bce
)
Use next_token() instead of eat() after eat_until_matching_token(), because we could...
author
Christoph Mallon
<christoph.mallon@gmx.de>
Fri, 2 Jan 2009 11:43:19 +0000
(11:43 +0000)
committer
Christoph Mallon
<christoph.mallon@gmx.de>
Fri, 2 Jan 2009 11:43:19 +0000
(11:43 +0000)
[r25039]
parser.c
patch
|
blob
|
history
diff --git
a/parser.c
b/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;
}