| От | Tom Lane |
|---|---|
| Тема | Re: Another pgindent gripe |
| Дата | |
| Msg-id | 18296.1131374722@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Another pgindent gripe (Alvaro Herrera <alvherre@commandprompt.com>) |
| Список | pgsql-hackers |
Alvaro Herrera <alvherre@commandprompt.com> writes:
> I have another gripe regarding pgindent. Why does it change indenting
> of function declarations?
What it's doing is indenting the additional lines in the same way as
they'd be indented in the function definition, that is
static void foo(int p1, int p2);
static void
foo(int p1, int p2)
{ ...
I've always thought this was pretty stupid, too --- I think it'd look
nicer as
static void foo(int p1, int p2);
But I dunno whether it is easily fixable. It's always done that AFAIR.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера