Received: from clubserv.rp-online.de (clubserv.rp-online.de [149.221.232.11]) by hub.org (8.9.3/8.9.1) with ESMTP id LAA79035 for ; Thu, 22 Apr 1999 11:58:14 -0400 (EDT) (envelope-from Michael.Meskes@gmx.net) Received: from pc63.rp-plus.de (as10-042.rp-plus.de [149.221.236.106]) by clubserv.rp-online.de (8.9.1a/8.9.1) with ESMTP id RAA13610; Thu, 22 Apr 1999 17:57:40 +0200 (METDST) Received: (from meskes@localhost) by pc63.rp-plus.de (8.9.3/8.9.3/Debian/GNU) id RAA00956; Thu, 22 Apr 1999 17:53:40 +0200 Date: Thu, 22 Apr 1999 17:53:40 +0200 From: Michael Meskes To: Pavel PaJaSoft Janousek Cc: PgSQL Interfaces Subject: Re: [INTERFACES] Comment in ECPG - again Message-ID: <19990422175340.A948@gmx.net> Mail-Followup-To: Pavel PaJaSoft Janousek , PgSQL Interfaces References: <001301be8c96$fbac2ae0$0200a8c0@server.fonet2.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4i In-Reply-To: <001301be8c96$fbac2ae0$0200a8c0@server.fonet2.cz>; from Pavel PaJaSoft Janousek on Thu, Apr 22, 1999 at 10:06:07AM +0200 On Thu, Apr 22, 1999 at 10:06:07AM +0200, Pavel PaJaSoft Janousek wrote: > But why ECPG know '//' and '/*' and '*/' C/C++ style comments? // is also an SQL comment. The backend will parse it correctly too. /* ... */ was added for convenience. After all this is C code. But #include is CPP code. > Somebody wrote, that ECPG translate only exec sql commands, not true, > when I write this: > //exec sql ssss This is not an exec sql command, but a comment. > So, is ECPG only ESQL compiler (translator) or complex translator from > ESQL to C/C++? I think, that ECPG want be complex translator => it may know > also preprocesor directives.... Please do not mix C/C++ with CPP. After all all CPP commands do not belong into the C language at all. Michael -- Michael Meskes | Go SF 49ers! Th.-Heuss-Str. 61, D-41812 Erkelenz | Go Rhein Fire! Tel.: (+49) 2431/72651 | Use Debian GNU/Linux! Email: Michael.Meskes@gmx.net | Use PostgreSQL!