projects
/
cparser
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
89e9fbd
)
Parameter identifier lists are no prototypes.
author
Christoph Mallon
<christoph.mallon@gmx.de>
Wed, 3 Dec 2008 10:34:00 +0000
(10:34 +0000)
committer
Christoph Mallon
<christoph.mallon@gmx.de>
Wed, 3 Dec 2008 10:34:00 +0000
(10:34 +0000)
[r24250]
parser.c
patch
|
blob
|
history
diff --git
a/parser.c
b/parser.c
index
d218ec3
..
dde9319
100644
(file)
--- a/
parser.c
+++ b/
parser.c
@@
-4132,7
+4132,8
@@
static void parse_parameters(function_type_t *type, scope_t *scope)
!is_typedef_symbol(token.v.symbol)) {
token_type_t la1_type = (token_type_t)look_ahead(1)->type;
if (la1_type == ',' || la1_type == ')') {
- type->kr_style_parameters = true;
+ type->kr_style_parameters = true;
+ type->unspecified_parameters = true;
parse_identifier_list(scope);
goto parameters_finished;
}