From a78bdb8ef83adab0b35e08b7230d53768102e1b2 Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Fri, 1 Jul 1994 19:09:49 -0400 Subject: (initelt): The equal sign is optional when positioning to a single element of an array. From-SVN: r7637 --- gcc/c-parse.in | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gcc') diff --git a/gcc/c-parse.in b/gcc/c-parse.in index d3c6cad..c6403e5 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); } -- cgit v1.1