From: Richard Kenner Date: Fri, 1 Jul 1994 23:09:49 +0000 (-0400) Subject: (initelt): The equal sign is optional when positioning to a single X-Git-Tag: misc/cutover-egcs-0~6306 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a78bdb8ef83adab0b35e08b7230d53768102e1b2;p=thirdparty%2Fgcc.git (initelt): The equal sign is optional when positioning to a single element of an array. From-SVN: r7637 --- diff --git a/gcc/c-parse.in b/gcc/c-parse.in index d3c6cad4b685..c6403e56a5b0 100644 --- a/gcc/c-parse.in +++ b/gcc/c-parse.in @@ -1154,6 +1154,9 @@ ifc | '[' expr_no_commas ']' '=' { set_init_index ($2, NULL_TREE); } initelt + | '[' expr_no_commas ']' + { set_init_index ($2, NULL_TREE); } + initelt end ifc | identifier ':' { set_init_label ($1); }