Comment in ECPG - again

From: "Pavel PaJaSoft Janousek" <janousek(at)fonet(dot)cz>
To: "PgSQL Interfaces" <pgsql-interfaces(at)postgresql(dot)org>
Subject: Comment in ECPG - again
Date: 1999-04-22 08:06:07
Message-ID: 001301be8c96$fbac2ae0$0200a8c0@server.fonet2.cz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

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(at)FoNet(dot)Cz Tel.: +420 5 4324 4749
SMS: mailto:P(dot)Janousek(at)SMS(dot)Paegas(dot)Cz Fax.: +420 5 4324 4751
WWW: http://WWW.FoNet.Cz/ E-mail: mailto:Info(at)FoNet(dot)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(at)FoNet(dot)Cz Tel.: +420 5 4324 4749
SMS: mailto:P(dot)Janousek(at)SMS(dot)Paegas(dot)Cz Fax.: +420 5 4324 4751
WWW: http://WWW.FoNet.Cz/ E-mail: mailto:Info(at)FoNet(dot)Cz
--------------------------------------------------------------------------

Responses

Browse pgsql-interfaces by date

  From Date Subject
Next Message Per Rønne 1999-04-22 08:29:53 RE: [INTERFACES] Possible error in libpg++ interface, date[time] fields.
Previous Message Rick Bourassa 1999-04-22 05:31:45 ODBC, JPEG Question