8000
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 faea3db commit 505b925Copy full SHA for 505b925
src/tools/pgindent/pgindent
@@ -1648,14 +1648,15 @@ do
1648
print line1;
1649
}
1650
}' |
1651
-# remove blank line before #else and #endif
+# remove blank line before #else, #elif, and #endif
1652
awk ' BEGIN {line1 = ""; line2 = ""; skips = 0}
1653
{
1654
line2 = $0;
1655
if (skips > 0)
1656
skips--;
1657
if (line1 ~ /^$/ &&
1658
(line2 ~ /^#else/ ||
1659
+ line2 ~ /^#elif/ ||
1660
line2 ~ /^#endif/))
1661
1662
print line2;
0 commit comments