Re: pgsql: Prevent certain symbols that are used for both typedefs and - Mailing list pgsql-committers

From Tom Lane
Subject Re: pgsql: Prevent certain symbols that are used for both typedefs and
Date
Msg-id 10630.1132066418@sss.pgh.pa.us
Whole thread Raw
In response to pgsql: Prevent certain symbols that are used for both typedefs and  (momjian@svr1.postgresql.org (Bruce Momjian))
Responses Re: pgsql: Prevent certain symbols that are used for both  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-committers
momjian@svr1.postgresql.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

pgsql-committers by date:

Previous
From: momjian@svr1.postgresql.org (Bruce Momjian)
Date:
Subject: pgsql: Prevent certain symbols that are used for both typedefs and
Next
From: Bruce Momjian
Date:
Subject: Re: pgsql: Prevent certain symbols that are used for both