re PR c/18162 (c-parse.y:1409.17: parse error, unexpected ":", expecting ";" or "|")

2004-10-26  Andrew Pinski  <pinskia@physics.uc.edu>

        PR 18162
        * c-parse.in (designator): Finish with a semi-colon.

From-SVN: r89589
This commit is contained in:
Andrew Pinski 2004-10-26 09:44:24 -07:00
parent bba11b5f6a
commit a3f164bd03
2 changed files with 7 additions and 1 deletions

View File

@ -1,4 +1,9 @@
2004-10-26 Fariborz Jahanian <fjahanian@apple.com> 2004-10-26 Andrew Pinski <pinskia@physics.uc.edu>
PR 18162
* c-parse.in (designator): Finish with a semi-colon.
2004-10-26 Fariborz Jahanian <fjahanian@apple.com>
* config/rs6000/rs6000.md (andsi3_internal8): Set CR when splitting * config/rs6000/rs6000.md (andsi3_internal8): Set CR when splitting
into rotlsi3. into rotlsi3.

View File

@ -1475,6 +1475,7 @@ designator:
'.' identifier '.' identifier
{ set_init_label ($2); } { set_init_label ($2); }
| array_designator | array_designator
;
array_designator: array_designator:
'[' expr_no_commas ELLIPSIS expr_no_commas ']' '[' expr_no_commas ELLIPSIS expr_no_commas ']'