Add exception for unicode_east_asian_fw_table.h to cpluspluscheck
authorJohn Naylor <john.naylor@postgresql.org>
Thu, 23 Sep 2021 19:14:22 +0000 (15:14 -0400)
committerJohn Naylor <john.naylor@postgresql.org>
Thu, 23 Sep 2021 19:23:48 +0000 (15:23 -0400)
unicode_east_asian_fw_table.h should not be compiled standalone, similarly
to unicode_combining_table.h, but cpluspluscheck did not get the memo.

Oversight in bab982161.

Per report from Tom Lane

src/tools/pginclude/cpluspluscheck

index e52d5e4240855d3c6323ee8c3f709290d03452d6..c9cb19b43e7304099428a870c1e71edb9e5058a9 100755 (executable)
@@ -114,6 +114,7 @@ do
 
        # Also not meant to be included standalone.
        test "$f" = src/include/common/unicode_combining_table.h && continue
+       test "$f" = src/include/common/unicode_east_asian_fw_table.h && continue
 
        # We can't make these Bison output files compilable standalone
        # without using "%code require", which old Bison versions lack.