Skip to content

Commit 6e8d957

Browse files
committed
Document struct/union problem with pgindent.
1 parent ae8a2d1 commit 6e8d957

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

src/tools/pgindent/pgindent

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,17 @@
11
#!/bin/sh
22

3-
# $PostgreSQL: pgsql/src/tools/pgindent/pgindent,v 1.100 2008/11/03 15:56:47 momjian Exp $
3+
# $PostgreSQL: pgsql/src/tools/pgindent/pgindent,v 1.101 2009/06/11 22:21:44 momjian Exp $
44

55
# Known bugs:
66
#
7-
# Blank line is added after, seen as a function definition, no space
7+
# Blank line is added after parentheses; seen as a function definition, no space
88
# after *:
99
# y = (int) x *y;
10+
#
11+
# Structure/union pointers in function prototypes and definitions have an extra
12+
# space after the asterisk:
13+
#
14+
# void x(struct xxc * a);
1015

1116
if [ "$#" -lt 2 ]
1217
then echo "Usage: $(basename $0) typedefs file [...]" 1>&2

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy