summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Momjian2009-06-11 22:21:44 +0000
committerBruce Momjian2009-06-11 22:21:44 +0000
commitc8ae87ededa90137df4d17b9f3a19056772b666f (patch)
tree4e62b0e90ea79787e95079a55882ae59fdf72564
parentc6b1dcdc78e14165e89f18466d2fcaf94c9847c8 (diff)
Document struct/union problem with pgindent.
-rwxr-xr-xsrc/tools/pgindent/pgindent7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/tools/pgindent/pgindent b/src/tools/pgindent/pgindent
index 763deb23cb..e0954a242c 100755
--- a/src/tools/pgindent/pgindent
+++ b/src/tools/pgindent/pgindent
@@ -4,9 +4,14 @@
# Known bugs:
#
-# Blank line is added after, seen as a function definition, no space
+# Blank line is added after parentheses; seen as a function definition, no space
# after *:
# y = (int) x *y;
+#
+# Structure/union pointers in function prototypes and definitions have an extra
+# space after the asterisk:
+#
+# void x(struct xxc * a);
if [ "$#" -lt 2 ]
then echo "Usage: $(basename $0) typedefs file [...]" 1>&2