cp/parse.y patch
Neal Becker
neal@ctd.comsat.com
Wed Oct 1 08:02:00 GMT 1997
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
More information about the Gcc
mailing list