Commit 6e8d957d authored by Bruce Momjian's avatar Bruce Momjian

Document struct/union problem with pgindent.

parent ae8a2d1a
#!/bin/sh #!/bin/sh
# $PostgreSQL: pgsql/src/tools/pgindent/pgindent,v 1.100 2008/11/03 15:56:47 momjian Exp $ # $PostgreSQL: pgsql/src/tools/pgindent/pgindent,v 1.101 2009/06/11 22:21:44 momjian Exp $
# Known bugs: # 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 *: # after *:
# y = (int) x *y; # 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 ] if [ "$#" -lt 2 ]
then echo "Usage: $(basename $0) typedefs file [...]" 1>&2 then echo "Usage: $(basename $0) typedefs file [...]" 1>&2
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment