Skip to content

Commit

Permalink
Fix bison warning: deprecated directive
Browse files Browse the repository at this point in the history
  • Loading branch information
lbartoletti authored and nyalldawson committed Aug 11, 2019
1 parent bf31ce1 commit 03c0d69
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/core/qgsexpressionparser.yy
Expand Up @@ -90,7 +90,7 @@ void addParserLocation(YYLTYPE* yyloc, QgsExpressionNode *node)
%lex-param {void * scanner}
%parse-param {expression_parser_context* parser_ctx}

%name-prefix "exp_"
%define api.prefix {exp_}

%union
{
Expand Down Expand Up @@ -145,7 +145,7 @@ void addParserLocation(YYLTYPE* yyloc, QgsExpressionNode *node)
%type <namednode> named_node

// debugging
%error-verbose
%define parse.error verbose

//
// operator precedence
Expand Down
4 changes: 2 additions & 2 deletions src/core/qgssqlstatementparser.yy
Expand Up @@ -87,7 +87,7 @@ struct sqlstatement_parser_context
%lex-param {void * scanner}
%parse-param {sqlstatement_parser_context* parser_ctx}

%name-prefix "sqlstatement_"
%define api.prefix {sqlstatement_}

%union
{
Expand Down Expand Up @@ -164,7 +164,7 @@ struct sqlstatement_parser_context
%type <boolVal> select_type;

// debugging
%error-verbose
%define parse.error verbose

//
// operator precedence
Expand Down

0 comments on commit 03c0d69

Please sign in to comment.