diff options
Diffstat (limited to 'gcc/c-parse.in')
-rw-r--r-- | gcc/c-parse.in | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gcc/c-parse.in b/gcc/c-parse.in index e5f876a3d2f..166768dc29f 100644 --- a/gcc/c-parse.in +++ b/gcc/c-parse.in @@ -519,7 +519,7 @@ cast_expr: tree type = $2; finish_init (); - if (pedantic && ! flag_isoc9x) + if (pedantic && ! flag_isoc99) pedwarn ("ANSI C forbids constructor expressions"); if (TYPE_NAME (type) != 0) { @@ -1403,8 +1403,8 @@ parm_declarator: ifc | parm_declarator '[' '*' ']' %prec '.' { $$ = build_nt (ARRAY_REF, $1, NULL_TREE); - if (! flag_isoc9x) - error ("`[*]' in parameter declaration only allowed in ISO C 9x"); + if (! flag_isoc99) + error ("`[*]' in parameter declaration only allowed in ISO C 99"); } end ifc | parm_declarator '[' expr ']' %prec '.' @@ -1439,8 +1439,8 @@ notype_declarator: ifc | notype_declarator '[' '*' ']' %prec '.' { $$ = build_nt (ARRAY_REF, $1, NULL_TREE); - if (! flag_isoc9x) - error ("`[*]' in parameter declaration only allowed in ISO C 9x"); + if (! flag_isoc99) + error ("`[*]' in parameter declaration only allowed in ISO C 99"); } end ifc | notype_declarator '[' expr ']' %prec '.' @@ -1523,7 +1523,7 @@ maybecomma: maybecomma_warn: /* empty */ | ',' - { if (pedantic && ! flag_isoc9x) + { if (pedantic && ! flag_isoc99) pedwarn ("comma at end of enumerator list"); } ; |