Skip to content

Commit

Permalink
Regenerate ods_formula_parser with Bison 3.8.1 to hopefully avoid Cov…
Browse files Browse the repository at this point in the history
…erity warnings
  • Loading branch information
rouault committed Nov 24, 2024
1 parent 181b6b9 commit ca16dce
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 ca16dce

Please sign in to comment.