Add missing exceptions to cpluspluscheck
authorJohn Naylor <[email protected]>
Tue, 6 Sep 2022 03:27:05 +0000 (10:27 +0700)
committerJohn Naylor <[email protected]>
Tue, 6 Sep 2022 03:31:22 +0000 (10:31 +0700)
dac048f71 added exceptions to headerscheck but failed to do the
same for cpluspluscheck

Per report from Andres Freund regarding CI
Discussion:https://www.postgresql.org/message-id/20220904205743.y3ntq6ij3aibmxvy%40awork3.anarazel.de

src/tools/pginclude/cpluspluscheck

index 2d3b785342f46c69a67a6aad3a0fb28dc0f1d06b..8eb44ccdee2a3a99dbb44b31c1cb0a854a3d2108 100755 (executable)
@@ -122,10 +122,18 @@ do
    # 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.
+   test "$f" = contrib/cube/cubeparse.h && continue
+   test "$f" = contrib/seg/segparse.h && continue
+   test "$f" = src/backend/bootstrap/bootparse.h && continue
    test "$f" = src/include/parser/gram.h && continue
    test "$f" = src/backend/parser/gram.h && continue
+   test "$f" = src/backend/replication/repl_gram.h && continue
+   test "$f" = src/backend/replication/syncrep_gram.h && continue
+   test "$f" = src/backend/utils/adt/jsonpath_gram.h && continue
+   test "$f" = src/bin/pgbench/exprparse.h && continue
    test "$f" = src/pl/plpgsql/src/pl_gram.h && continue
    test "$f" = src/interfaces/ecpg/preproc/preproc.h && continue
+   test "$f" = src/test/isolation/specparse.h && continue
 
    # ppport.h is not under our control, so we can't make it standalone.
    test "$f" = src/pl/plperl/ppport.h && continue