Received: from www.flamingo.cz (root@fwd.cz [194.212.23.91]) by hub.org (8.9.3/8.9.1) with ESMTP id EAA29938 for ; Thu, 22 Apr 1999 04:59:18 -0400 (EDT) (envelope-from janousek@fonet.cz) Received: from router.fonet2.cz (ts3-6.bm.cesnet.cz [194.212.133.37]) by www.flamingo.cz (8.8.8/8.8.8) with ESMTP id KAA11825 for ; Thu, 22 Apr 1999 10:59:17 +0200 Received: from server (server.fonet2.cz [192.168.0.2]) by router.fonet2.cz (8.9.1/8.9.1) with SMTP id KAA03110 for ; Thu, 22 Apr 1999 10:12:04 GMT Message-ID: <001301be8c96$fbac2ae0$0200a8c0@server.fonet2.cz> From: "Pavel PaJaSoft Janousek" To: "PgSQL Interfaces" Subject: Comment in ECPG - again Date: Thu, 22 Apr 1999 10:06:07 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.3110.5 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Hi all, fine, ECPG doesn't know preprocesor macros as #if, #ifdef... - you wrote, that this is ok, because this is preprocesor commands. But why ECPG know '//' and '/*' and '*/' C/C++ style comments? Somebody wrote, that ECPG translate only exec sql commands, not true, when I write this: //exec sql ssss ECPG don't translate this line => it knows C/C++ comments... - this construction is wrong, but ECPG doesn't say parse error on this line => skips it. 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.... ------------------------------------------------------------------------- Pavel Janousek (PaJaSoft) FoNet, spol. s r. o. Vyvoj software, sprava siti, Unix, Web, Y2K Anenska 11, 602 00 Brno E-mail: mailto:Janousek@FoNet.Cz Tel.: +420 5 4324 4749 SMS: mailto:P.Janousek@SMS.Paegas.Cz Fax.: +420 5 4324 4751 WWW: http://WWW.FoNet.Cz/ E-mail: mailto:Info@FoNet.Cz -------------------------------------------------------------------------- ------------------------------------------------------------------------- Pavel Janousek (PaJaSoft) FoNet, spol. s r. o. Vyvoj software, sprava siti, Unix, Web, Y2K Anenska 11, 602 00 Brno E-mail: mailto:Janousek@FoNet.Cz Tel.: +420 5 4324 4749 SMS: mailto:P.Janousek@SMS.Paegas.Cz Fax.: +420 5 4324 4751 WWW: http://WWW.FoNet.Cz/ E-mail: mailto:Info@FoNet.Cz --------------------------------------------------------------------------