]> granicus.if.org Git - postgresql/blobdiff - src/tools/find_badmacros
MSVC: Exclude 'brin' contrib module
[postgresql] / src / tools / find_badmacros
index 8a12b59becf14fa8f622c8fd23ef4084a4ab9c84..58f43086e9a4e8ab037e9091daab8185bbe46d96 100755 (executable)
@@ -1,7 +1,10 @@
 #!/bin/sh
+
 # This script attempts to find bad ifdef's, i.e. ifdef's that use braces
 # but not the do { ... } while (0) syntax
 #
+# src/tools/find_badmacros
+#
 # This is useful for running before pgindent
 
 for FILE
@@ -17,4 +20,3 @@ do
                                }' "$FILE"
        grep -on '^#define.*{' "$FILE" | grep -v 'do[   ]*{'
 done
-