postgresql/contrib/seg
Peter Eisentraut ab61c40bfa Add extern declarations for Bison global variables
This adds extern declarations for some global variables produced by
Bison that are not already declared in its generated header file.
This is a workaround to be able to add -Wmissing-variable-declarations
to the global set of warning options in the near future.

Another longer-term solution would be to convert these grammars to
"pure" parsers in Bison, to avoid global variables altogether.  Note
that the core grammar is already pure, so this patch did not need to
touch it.

Reviewed-by: Andres Freund <andres@anarazel.de>
Discussion: https://www.postgresql.org/message-id/flat/e0a62134-83da-4ba4-8cdb-ceb0111c95ce@eisentraut.org
2024-07-25 09:26:08 +02:00
..
data
expected
sql
.gitignore
Makefile
meson.build seg: Add test "security" in meson.build 2024-01-18 10:12:44 +09:00
seg--1.0--1.1.sql
seg--1.1--1.2.sql
seg--1.1.sql
seg--1.2--1.3.sql
seg--1.3--1.4.sql
seg-validate.pl Update copyright for 2024 2024-01-03 20:49:05 -05:00
seg.c
seg.control
segdata.h
segparse.y Add extern declarations for Bison global variables 2024-07-25 09:26:08 +02:00
segscan.l
sort-segments.pl Update copyright for 2024 2024-01-03 20:49:05 -05:00