This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
cp/parse.y patch
- To: egcs at cygnus dot com
- Subject: cp/parse.y patch
- From: Neal Becker <neal at ctd dot comsat dot com>
- Date: Wed, 1 Oct 1997 11:02:05 -0400
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