diff options
author | Peter Eisentraut | 2020-01-24 11:23:06 +0000 |
---|---|---|
committer | Peter Eisentraut | 2020-01-24 11:23:06 +0000 |
commit | cc25464763f0211e59a209eb50a7b7a79449051f (patch) | |
tree | a9744c8b0ca098d47b74ce3a2f5b66d68b8026c6 | |
parent | a7a848844d74e63ee102717972de3e60b5f4549a (diff) |
Add exclusion to headercheck
src/include/common/unicode_combining_table.h is currently not meant to
be included standalone. Things could be refactored to allow it, but
that would be beyond the present purpose. So adding an exclusion here
seems best.
Discussion: https://www.postgresql.org/message-id/[email protected]
-rwxr-xr-x | src/tools/pginclude/cpluspluscheck | 3 | ||||
-rwxr-xr-x | src/tools/pginclude/headerscheck | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/tools/pginclude/cpluspluscheck b/src/tools/pginclude/cpluspluscheck index dc45bd087b1..531fab904cf 100755 --- a/src/tools/pginclude/cpluspluscheck +++ b/src/tools/pginclude/cpluspluscheck @@ -110,6 +110,9 @@ do test "$f" = src/pl/plpython/spiexceptions.h && continue test "$f" = src/pl/tcl/pltclerrcodes.h && continue + # Also not meant to be included standalone. + test "$f" = src/include/common/unicode_combining_table.h && continue + # We can't make these Bison output files compilable standalone # without using "%code require", which old Bison versions lack. # parser/gram.h will be included by parser/gramparse.h anyway. diff --git a/src/tools/pginclude/headerscheck b/src/tools/pginclude/headerscheck index 440bde88a7b..d652d6b6f9a 100755 --- a/src/tools/pginclude/headerscheck +++ b/src/tools/pginclude/headerscheck @@ -106,6 +106,9 @@ do test "$f" = src/pl/plpython/spiexceptions.h && continue test "$f" = src/pl/tcl/pltclerrcodes.h && continue + # Also not meant to be included standalone. + test "$f" = src/include/common/unicode_combining_table.h && continue + # We can't make these Bison output files compilable standalone # without using "%code require", which old Bison versions lack. # parser/gram.h will be included by parser/gramparse.h anyway. |