Skip to content
Permalink
Browse files
fix bison warnings
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@14158 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Aug 27, 2010
1 parent ed04363 commit 3a5cdeb4cf84603fd308b549a1ace33ebc06abc9
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/core/qgssearchstringparser.yy
@@ -98,8 +98,8 @@ void addToTmpNodes(QgsSearchTreeNode* node);
%left NOT

%left COMPARISON

%left CONCAT
%left IN

%left '+' '-'
%left '*' '/'
@@ -133,8 +133,8 @@ comp_predicate:
;

scalar_exp_list:
| scalar_exp_list ',' scalar_exp { $$ = $1; $1->append($3); joinTmpNodes($1,$1,$3); }
| scalar_exp { $$ = new QgsSearchTreeNode( QgsSearchTreeNode::tNodeList ); $$->append($1); joinTmpNodes($$,$$,$1); }
scalar_exp_list ',' scalar_exp { $$ = $1; $1->append($3); joinTmpNodes($1,$1,$3); }
| scalar_exp { $$ = new QgsSearchTreeNode( QgsSearchTreeNode::tNodeList ); $$->append($1); joinTmpNodes($$,$1,0); }
;

scalar_exp:

0 comments on commit 3a5cdeb

Please sign in to comment.