Hi,
Just installed bison 1.75 here, and the inventor build died with
the following diagnostic:
/usr/bin/yacc SoCalcParse.y
SoCalcParse.y:113.7-12: type redeclaration for additive_expression
The fix is simply this:
Index: lib/database/src/so/engines/SoCalcParse.y
===================================================================
RCS file:
/home/steve/lib/cvs/debian/inventor/lib/database/src/so/engines/SoCalcParse.y,v
retrieving revision 1.1.1.1
diff -u -b -B -r1.1.1.1 SoCalcParse.y
--- lib/database/src/so/engines/SoCalcParse.y 15 Aug 2000 12:56:18 -0000
1.1.1.1
+++ lib/database/src/so/engines/SoCalcParse.y 19 Oct 2002 03:39:03 -0000
@@ -110,7 +110,7 @@
%type <expr> asgn primary_expression postfix_expression
%type <expr> unary_expression
%type <expr> multiplicative_expression additive_expression
-%type <expr> additive_expression relational_expression
+%type <expr> relational_expression
%type <expr> equality_expression logical_AND_expression
%type <expr> logical_OR_expression conditional_expression
%type <list> args
Cheers,
-Steve
|