This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

PATCH: fix C++ parser for berkeley yacc


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:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]