Skip to content

Commit

Permalink
Merge pull request #11347 from rouault/ods_parser_bison_update
Browse files Browse the repository at this point in the history
Regenerate ods_formula_parser with Bison 3.8.1 to hopefully avoid Coverity warnings
  • Loading branch information
rouault authored Nov 26, 2024
2 parents 0599106 + ca16dce commit 30471cd
Show file tree
Hide file tree
Showing 4 changed files with 1,189 additions and 1,351 deletions.
1 change: 1 addition & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ repos:
ogr/ogrsf_frmts/flatgeobuf/flatbuffers/|
ogr/ogrsf_frmts/pmtiles/pmtiles/|
ogr/ogrsf_frmts/ods/ods_formula_parser.cpp|
ogr/ogrsf_frmts/ods/ods_formula_parser.hpp|
ogr/ogrsf_frmts/sqlite/sqlite_rtree_bulk_load|
ogr/swq_parser.cpp|
ogr/swq_parser.hpp|
Expand Down
2 changes: 0 additions & 2 deletions ogr/ogrsf_frmts/ods/ods_formula.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@ int ods_formulalex(ods_formula_node **ppNode,
#include "ods_formula_parser.cpp"
} /* end of anonymous namespace */

#define YYSTYPE ods_formula_node *

static const SingleOpStruct apsSingleOp[] = {
{"ABS", ODS_ABS, fabs}, {"SQRT", ODS_SQRT, sqrt},
{"COS", ODS_COS, cos}, {"SIN", ODS_SIN, sin},
Expand Down
Loading

0 comments on commit 30471cd

Please sign in to comment.