mirror of
https://github.com/postgres/postgres.git
synced 2025-05-29 16:21:20 +03:00
Fix #elif spacing too.
This commit is contained in:
parent
faea3db958
commit
505b925276
@ -1648,7 +1648,7 @@ do
|
|||||||
print line1;
|
print line1;
|
||||||
}
|
}
|
||||||
}' |
|
}' |
|
||||||
# remove blank line before #else and #endif
|
# remove blank line before #else, #elif, and #endif
|
||||||
awk ' BEGIN {line1 = ""; line2 = ""; skips = 0}
|
awk ' BEGIN {line1 = ""; line2 = ""; skips = 0}
|
||||||
{
|
{
|
||||||
line2 = $0;
|
line2 = $0;
|
||||||
@ -1656,6 +1656,7 @@ do
|
|||||||
skips--;
|
skips--;
|
||||||
if (line1 ~ /^$/ &&
|
if (line1 ~ /^$/ &&
|
||||||
(line2 ~ /^#else/ ||
|
(line2 ~ /^#else/ ||
|
||||||
|
line2 ~ /^#elif/ ||
|
||||||
line2 ~ /^#endif/))
|
line2 ~ /^#endif/))
|
||||||
{
|
{
|
||||||
print line2;
|
print line2;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user