This is the mail archive of the gcc@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]

cp/parse.y patch


Pretty obvious patch.

BTW, 
expect 18 shift/reduce conflicts and 39 reduce/reduce conflicts.
cd ../../../../egcs-970929/gcc/cp; bison  -d -o parse.c parse.y
parse.y contains 19 shift/reduce conflicts and 39 reduce/reduce conflicts.

*** parse.y	1997/10/01 14:59:28	1.1
--- parse.y	1997/10/01 14:59:32
***************
*** 196,202 ****
  %type <code> unop
  
  %type <ttype> identifier IDENTIFIER TYPENAME CONSTANT expr nonnull_exprlist
! %type <ttype> PFUNCNAME
  %type <ttype> paren_expr_or_null nontrivial_exprlist SELFNAME
  %type <ttype> expr_no_commas cast_expr unary_expr primary string STRING
  %type <ttype> reserved_declspecs boolean.literal
--- 196,202 ----
  %type <code> unop
  
  %type <ttype> identifier IDENTIFIER TYPENAME CONSTANT expr nonnull_exprlist
! /* %type <ttype> PFUNCNAME */
  %type <ttype> paren_expr_or_null nontrivial_exprlist SELFNAME
  %type <ttype> expr_no_commas cast_expr unary_expr primary string STRING
  %type <ttype> reserved_declspecs boolean.literal


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