diff options
author | Bruce Momjian <bruce@momjian.us> | 2005-07-13 15:59:32 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2005-07-13 15:59:32 +0000 |
commit | 505b92527696799f055e10bfe298dc1bcc1cc270 (patch) | |
tree | 27696a8551511b57e1ce64d8c4652dc44110dfad | |
parent | faea3db958074dcab74e03b882c9586f12a903fb (diff) | |
download | postgresql-505b92527696799f055e10bfe298dc1bcc1cc270.tar.gz postgresql-505b92527696799f055e10bfe298dc1bcc1cc270.zip |
Fix #elif spacing too.
-rwxr-xr-x | src/tools/pgindent/pgindent | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tools/pgindent/pgindent b/src/tools/pgindent/pgindent index e84b23cb711..37e839ea128 100755 --- a/src/tools/pgindent/pgindent +++ b/src/tools/pgindent/pgindent @@ -1648,7 +1648,7 @@ do print line1; } }' | -# remove blank line before #else and #endif +# remove blank line before #else, #elif, and #endif awk ' BEGIN {line1 = ""; line2 = ""; skips = 0} { line2 = $0; @@ -1656,6 +1656,7 @@ do skips--; if (line1 ~ /^$/ && (line2 ~ /^#else/ || + line2 ~ /^#elif/ || line2 ~ /^#endif/)) { print line2; |