1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
|
Description: Fix SoCalcParse.y so bison accepts it
Do not declare twice the same nonterminal with %type (bison suddenly got
picky about this).
Author: Steve M. Robbins <smr@debian.org>
Bug-Debian: http://bugs.debian.org/165305
--- inventor-2.1.5-10.orig/lib/database/src/so/engines/SoCalcParse.y
+++ inventor-2.1.5-10/lib/database/src/so/engines/SoCalcParse.y
@@ -119,7 +119,7 @@ static struct {
%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
|