mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-01-06 15:24:56 +08:00
Improve comment after 'else' handling of pgindent.
This commit is contained in:
parent
0683a47556
commit
4e28b08e53
@ -38,8 +38,8 @@ do
|
||||
# mark some comments for special treatment later
|
||||
sed 's;/\* *---;/*---X_X;g' |
|
||||
# workaround for indent bug with 'else' handling
|
||||
sed 's;\([} ]\)else[ ]*\(/\*.*\)$;\1else\
|
||||
\2;g' |
|
||||
sed 's;\([} ]\)else\([ ]*\)\(/\*.*\)$;\1else\
|
||||
\2\3;g' |
|
||||
detab -t4 -qc |
|
||||
# work around bug where function that defines no local variables misindents
|
||||
# switch() case lines and line after #else. Do not do for struct/enum.
|
||||
|
Loading…
Reference in New Issue
Block a user