pgc.l modif. has been overwritten again

From: "Nicolas Bazin" <nbazin(at)ingenico(dot)com(dot)au>
To: <pgsql-interfaces(at)postgresql(dot)org>
Subject: pgc.l modif. has been overwritten again
Date: 2002-03-27 05:03:08
Message-ID: 00e301c1d54c$afb3ee00$660d090a@software.ingenico.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

We need a little bit of order when several people can commit on the source code, It would be nice that they update their local copy and then commit, or check the directory or check for conflicts.
It's the second time that this modif has been overwritten. It's getting anoying.

The patch corrects a test on defines end of visibility that is performed too early by the preprocessor.

Here it is again.

*** pgc.l Wed Mar 27 15:52:45 2002
--- cvs/src/interfaces/ecpg/preproc/pgc.l Fri Feb 15 17:46:57 2002
***************
*** 859,866 ****
}

<<EOF>> {
-
- if (yy_buffer == NULL) {
if ( preproc_tos > 0 ) {
preproc_tos = 0;

--- 859,864 ----
}

<<EOF>> {
if ( preproc_tos > 0 ) {
preproc_tos = 0;

***************
*** 866,871 ****

mmerror(PARSE_ERROR, ET_FATAL, "Missing 'EXEC SQL ENDIF;'");
}
yyterminate();
}
else
--- 864,871 ----

mmerror(PARSE_ERROR, ET_FATAL, "Missing 'EXEC SQL ENDIF;'");
}
+
+ if (yy_buffer == NULL)
yyterminate();
else
{
***************
*** 867,873 ****
mmerror(PARSE_ERROR, ET_FATAL, "Missing 'EXEC SQL ENDIF;'");
}
yyterminate();
- }
else
{
struct _yy_buffer *yb = yy_buffer;
--- 867,872 ----

if (yy_buffer == NULL)
yyterminate();
else
{
struct _yy_buffer *yb = yy_buffer;

Nicolas.

Responses

Browse pgsql-interfaces by date

  From Date Subject
Next Message Tom Lane 2002-03-27 05:26:21 Re: pgc.l modif. has been overwritten again
Previous Message Jeroen T. Vermeulen 2002-03-26 18:14:53 Re: libpqxx has HTML docs