We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0683a47 commit 4e28b08Copy full SHA for 4e28b08
src/tools/pgindent/pgindent
@@ -38,8 +38,8 @@ do
38
# mark some comments for special treatment later
39
sed 's;/\* *---;/*---X_X;g' |
40
# workaround for indent bug with 'else' handling
41
- sed 's;\([} ]\)else[ ]*\(/\*.*\)$;\1else\
42
-\2;g' |
+ sed 's;\([} ]\)else\([ ]*\)\(/\*.*\)$;\1else\
+\2\3;g' |
43
detab -t4 -qc |
44
# work around bug where function that defines no local variables misindents
45
# switch() case lines and line after #else. Do not do for struct/enum.
0 commit comments