PATCH: fix C++ parser for berkeley yacc

Marc Espie espie@schutzenberger.liafa.jussieu.fr
Wed Jul 26 06:08:00 GMT 2000


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:


More information about the Gcc-patches mailing list