From: Christoph Mallon Date: Wed, 3 Dec 2008 10:34:00 +0000 (+0000) Subject: Parameter identifier lists are no prototypes. X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=6ce20cc2a312d192c7958e5f2c603cb3cfca0b01;p=cparser Parameter identifier lists are no prototypes. [r24250] --- diff --git a/parser.c b/parser.c index d218ec3..dde9319 100644 --- 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; }