Skip to content

Commit

Permalink
fix bison warnings
Browse files Browse the repository at this point in the history
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 13a069d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/core/qgssearchstringparser.yy
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,8 @@ void addToTmpNodes(QgsSearchTreeNode* node);
%left NOT

%left COMPARISON

%left CONCAT
%left IN

%left '+' '-'
%left '*' '/'
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 13a069d

Please sign in to comment.