pgindent infelicity

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgindent infelicity
Дата
Msg-id 20583.1167247810@sss.pgh.pa.us
обсуждение исходный текст
Ответы Re: pgindent infelicity  (Bruce Momjian <bruce@momjian.us>)
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [PATCHES] [BUGS] BUG #2846: inconsistent and confusing handling of
Следующее
От: Tom Lane
Дата:
Сообщение: Re: psql display of Unicode combining characters in 8.2