pgindent infelicity - Mailing list pgsql-hackers

From Tom Lane
Subject pgindent infelicity
Date
Msg-id 20583.1167247810@sss.pgh.pa.us
Whole thread Raw
Responses Re: pgindent infelicity
List pgsql-hackers
I notice that the latest pgindent run has decided that comments attached
to "else" should be moved onto the next line, as in this example in
src/bin/psql/mbprint.c:
                       {                               linewidth += 4;                               format_size += 4;
                    }
 
-                       else  /* Output itself */
+                       else
+                               /* Output itself */                       {                               linewidth++;
                            format_size += 1;                       }
 

I find this pretty ugly; can it be fixed?
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [PATCHES] [BUGS] BUG #2846: inconsistent and confusing handling of
Next
From: Tom Lane
Date:
Subject: Re: psql display of Unicode combining characters in 8.2