pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Meskes <meskes@postgresql.org>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Michael Meskes <meskes@postgresql.org>
Cc: Vladimir Zvagolskiy <Vladimir.Zvagolskiy@nasdaq.com>
Cc: pgsql-bugs@postgresql.org <pgsql-bugs@postgresql.org>
Subject: Re: BUG #13898: ecpg complains on nested comments in /usr/pgsql-9.4/include/informix/esql/datetime.h
Date: Mon, 1 Feb 2016 11:48:05 +0100
Message-ID: <20160201104805.GA11054@feivel> (raw)
In-Reply-To: <68728.1454320604@sss.pgh.pa.us>
References: <20160129002202.2534.66092@wrigleys.postgresql.org>
	<1454155301.23207.80.camel@postgresql.org>
	<37edb08437e746b9bfa4d430ec4f738a@se10mbx02.org.nasdaqomx.com>
	<20160201085656.GA5967@feivel>
	<5dd13ee64104460c83de2e113a5907ce@se10mbx02.org.nasdaqomx.com>
	<20160201094337.GA9280@feivel>
	<68728.1454320604@sss.pgh.pa.us>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

On Mon, Feb 01, 2016 at 10:56:44AM +0100, Tom Lane wrote:
> It seems a bit fishy that the comment in question starts on an #if line
> and ends on an ordinary line.  I am not sure what the C standard says
> about such cases, but I can certainly imagine that some tools might not
> be very happy with that.

Very good catch. Vladimir, which compiler are you using?

> It looks like that code was last touched by pgindent in d747140279426607:

Let me guess, pg_indent?

It sure looks like it.

Michael
-- 
Michael Meskes
Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org)
Meskes at (Debian|Postgresql) dot Org
Jabber: michael at xmpp dot meskes dot org
VfL Borussia! Força Barça! Go SF 49ers! Use Debian GNU/Linux, PostgreSQL


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (13+ messages)  latest in thread

Message-ID: <20160201104805.GA11054@feivel>
Permalink:  ../20160201104805.GA11054@feivel/
Also on:    postgresql.org/message-id/20160201104805.GA11054@feivel

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: meskes@postgresql.org, tgl@sss.pgh.pa.us, Vladimir.Zvagolskiy@nasdaq.com
  Subject: Re: BUG #13898: ecpg complains on nested comments in /usr/pgsql-9.4/include/informix/esql/datetime.h
  In-Reply-To: <20160201104805.GA11054@feivel>
  References: <20160129002202.2534.66092@wrigleys.postgresql.org> <1454155301.23207.80.camel@postgresql.org> <37edb08437e746b9bfa4d430ec4f738a@se10mbx02.org.nasdaqomx.com> <20160201085656.GA5967@feivel> <5dd13ee64104460c83de2e113a5907ce@se10mbx02.org.nasdaqomx.com> <20160201094337.GA9280@feivel> <68728.1454320604@sss.pgh.pa.us> <20160201104805.GA11054@feivel>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox