This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
PATCH: fix C++ parser for berkeley yacc
- To: gcc-patches at gcc dot gnu dot org
- Subject: PATCH: fix C++ parser for berkeley yacc
- From: Marc Espie <espie at schutzenberger dot liafa dot jussieu dot fr>
- Date: Wed, 26 Jul 2000 15:07:39 +0200
- Reply-To: Marc dot Espie at liafa dot jussieu dot fr
Bison generation rules probably add a ';' there.
Berkeley Yacc does not, and the C++ parser does not depend on bison
otherwise.
Wed Jul 26 15:05:51 CEST 2000 Marc Espie <espie@cvs.openbsd.org>
* parse.y: Add missing ';'.
*** parse.y.orig Wed Jul 26 13:42:33 2000
--- parse.y Wed Jul 26 13:42:45 2000
***************
*** 935,941 ****
{ $$ = expand_member_init (current_class_ref, $1,
void_type_node); }
| error
! { $$ = NULL_TREE }
;
identifier:
--- 935,941 ----
{ $$ = expand_member_init (current_class_ref, $1,
void_type_node); }
| error
! { $$ = NULL_TREE; }
;
identifier: