postgresql/src/interfaces
Bruce Momjian 811f7df274 When a macro is replaced by the preprocessor, pgc.l reaches a end of
file, which is not the actual end of the file. One side effect of that
is that if you are i n a ifdef block, you get a wrong error telling you
that a endif is missing.

This patch corrects pgc.l and also adds a test of this problem to
test1.pgc. To  convince you apply the patch to test1.pgc first then try
to compile the test the n apply the patch to pgc.l.

The patch moves the test of the scope of an ifdef block to the end of
the file b eeing parsed, including all includes files, ... .

Nicolas Bazin
2002-04-05 11:39:47 +00:00
..
cli Another pgindent run. Fixes enum indenting, and improves #endif 2001-10-28 06:26:15 +00:00
ecpg When a macro is replaced by the preprocessor, pgc.l reaches a end of 2002-04-05 11:39:47 +00:00
jdbc Removed error message that was incorectly being issued. This fixes a problem reported a few months ago where a select in a rule was causing an insert statement to return a result set which the code was explicitly prohibiting. 2002-04-02 06:24:10 +00:00
libpgeasy Add libpgeasy example file. 2002-03-06 14:40:05 +00:00
libpgtcl Fix bogus error check in pg_execute, per report from lbayuk@mindspring.com. 2002-03-04 02:41:49 +00:00
libpq Change made to elog: 2002-03-06 06:10:59 +00:00
libpq++ Inlined a patch to add the libpq setNoticeProcessor capability to 2002-03-11 15:08:18 +00:00
odbc Fix a bug in SQLError(). 2002-04-04 23:29:16 +00:00
perl5 New pgindent run with fixes suggested by Tom. Patch manually reviewed, 2001-11-05 17:46:40 +00:00
python Fox for old python PyMem_DEL, was PyMem_Del, 2002-03-29 07:45:39 +00:00
Makefile Recursive distclean shouldn't depend on recursive clean. Subdirectories 2001-03-09 21:50:27 +00:00