|
1 | 1 | #!/bin/sh
|
2 | 2 |
|
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 $ |
4 | 4 |
|
5 | 5 | # Known bugs:
|
6 | 6 | #
|
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 |
8 | 8 | # after *:
|
9 | 9 | #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); |
10 | 15 |
|
11 | 16 | if ["$#"-lt 2 ]
|
12 | 17 | thenecho"Usage:$(basename$0) typedefs file [...]"1>&2
|
|