From 3194854770602ec204dbfb8b3d469b56d5ef4d9c Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sat, 29 Jan 2000 18:59:40 +0000 Subject: Adjust variable names, comments, help strings to c99. From-SVN: r31689 --- gcc/c-parse.y | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'gcc/c-parse.y') diff --git a/gcc/c-parse.y b/gcc/c-parse.y index 11a8751..33dd371 100644 --- a/gcc/c-parse.y +++ b/gcc/c-parse.y @@ -474,7 +474,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) { @@ -1229,8 +1229,8 @@ parm_declarator: poplevel (0, 0, 0); } */ | 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"); } | parm_declarator '[' expr ']' %prec '.' { $$ = build_nt (ARRAY_REF, $1, $3); } @@ -1263,8 +1263,8 @@ notype_declarator: { $$ = make_pointer_declarator ($2, $3); } | 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"); } | notype_declarator '[' expr ']' %prec '.' { $$ = build_nt (ARRAY_REF, $1, $3); } @@ -1346,7 +1346,7 @@ maybecomma: maybecomma_warn: /* empty */ | ',' - { if (pedantic && ! flag_isoc9x) + { if (pedantic && ! flag_isoc99) pedwarn ("comma at end of enumerator list"); } ; -- cgit v1.1