Re: pgindent && weirdness

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pgindent && weirdness
Дата
Msg-id 22726.1581982940@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: pgindent && weirdness  (Thomas Munro <thomas.munro@gmail.com>)
Ответы Re: pgindent && weirdness  (Thomas Munro <thomas.munro@gmail.com>)
Список pgsql-hackers
Thomas Munro <thomas.munro@gmail.com> writes:
> Another problem is that there is one thing in our tree that looks like
> a non-cast under the new rule, but it actually expands to a type name,
> so now we get that wrong!  (I mean, unpatched indent doesn't really
> understand it either, it thinks it's a cast, but at least it knows the
> following * is not a binary operator):

> -       STACK_OF(X509_NAME) *root_cert_list = NULL;
> +       STACK_OF(X509_NAME) * root_cert_list = NULL;

> That's a macro from an OpenSSL header.  Not sure what to do about that.

If we get that wrong, but a hundred other places look better,
I'm not too fussed about it.

            regards, tom lane



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: Error on failed COMMIT
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: more ALTER .. DEPENDS ON EXTENSION fixes