Re: pgsql: Prevent certain symbols that are used for both typedefs and

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: pgsql-committers(at)postgresql(dot)org
Subject: Re: pgsql: Prevent certain symbols that are used for both typedefs and
Date: 2005-11-15 14:53:38
Message-ID: 10630.1132066418@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

momjian(at)svr1(dot)postgresql(dot)org (Bruce Momjian) writes:
> Prevent certain symbols that are used for both typedefs and variable
> names from being added to pgindent's typedef list. The existance of
> them caused weird formatting in the date/type files, and in keywords.c.

Maybe it would be better to do some judicious renaming in the sources
to avoid the conflicts? ISTM that failing to mark a typedef as such
will inevitably result in bad formatting of code that uses the name
as a typedef.

regards, tom lane

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian 2005-11-15 15:09:52 Re: pgsql: Prevent certain symbols that are used for both
Previous Message Bruce Momjian 2005-11-15 14:45:14 pgsql: Prevent certain symbols that are used for both typedefs and