cp/parse.y problem
Thomas Koenig
ig25@mvmap66.ciw.uni-karlsruhe.de
Wed Oct 1 06:47:00 GMT 1997
Even with the patch below applied, I still have the following problem:
make[2]: Entering directory `/usr/src/egcs-970929/gcc/cp'
[...]
expect 18 shift/reduce conflicts and 39 reduce/reduce conflicts.
cd .; bison -d -o parse.c parse.y
parse.y contains 19 shift/reduce conflicts and 39 reduce/reduce conflicts.
so I suspect something's rotten in the state of Denmark.
Wed Oct 1 15:37:58 CEST 1997 Thomas Koenig (ig25@rz.uni-karlsruhe.de)
* cp/parse.y: Remove duplicate definition of PFUNCNAME
--- cp/parse.y.orig Wed Oct 1 15:11:37 1997
+++ cp/parse.y Wed Oct 1 15:35:19 1997
@@ -196,7 +196,6 @@
%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
--
Thomas Koenig, Thomas.Koenig@ciw.uni-karlsruhe.de, ig25@dkauni2.bitnet.
The joy of engineering is to find a straight line on a double
logarithmic diagram.
More information about the Gcc
mailing list