Skip to content
Permalink
Browse files
fix bison warnings
git-svn-id: http://svn.osgeo.org/qgis/trunk@14158 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Aug 27, 2010
1 parent a1d0d6e commit 13a069df87779fb46ef060039323b030262e1ea3
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 13a069d

Please sign in to comment.