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

Commit4e28b08

Browse files
committed
Improve comment after 'else' handling of pgindent.
1 parent0683a47 commit4e28b08

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/tools/pgindent/pgindent

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ do
3838
# mark some comments for special treatment later
3939
sed's;/\* *---;/*---X_X;g'|
4040
# workaround for indent bug with 'else' handling
41-
sed's;\([} ]\)else[ ]*\(/\*.*\)$;\1else\
42-
\2;g'|
41+
sed's;\([} ]\)else\([ ]*\)\(/\*.*\)$;\1else\
42+
\2\3;g'|
4343
detab -t4 -qc|
4444
# work around bug where function that defines no local variables misindents
4545
# switch() case lines and line after #else. Do not do for struct/enum.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp