diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1994-07-01 19:09:49 -0400 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1994-07-01 19:09:49 -0400 |
commit | a78bdb8ef83adab0b35e08b7230d53768102e1b2 (patch) | |
tree | 0ea48a54f089485b116f32d57691f8ec8f5e82f1 /gcc/c-parse.in | |
parent | 20e5a991023756b6cdae5582df1f7f704e664136 (diff) | |
download | gcc-a78bdb8ef83adab0b35e08b7230d53768102e1b2.tar.gz |
(initelt): The equal sign is optional when positioning to a single
element of an array.
From-SVN: r7637
Diffstat (limited to 'gcc/c-parse.in')
-rw-r--r-- | gcc/c-parse.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/c-parse.in b/gcc/c-parse.in index d3c6cad4b68..c6403e56a5b 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); } |