Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit6e8d957

Browse files
committed
Document struct/union problem with pgindent.
1 parentae8a2d1 commit6e8d957

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
thenecho"Usage:$(basename$0) typedefs file [...]"1>&2

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp