aboutsummaryrefslogtreecommitdiff
path: root/src/backend/parser/parse_target.c
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2002-04-05 11:39:47 +0000
committerBruce Momjian <bruce@momjian.us>2002-04-05 11:39:47 +0000
commit811f7df27454577d723e7f59dd840b09c5286913 (patch)
tree8e9efaa58e40263ff5087ad12812eb0bb154325d /src/backend/parser/parse_target.c
parent3cbe6b2478d7a321e203857f255bcaf69bcc5c8d (diff)
downloadpostgresql-811f7df27454577d723e7f59dd840b09c5286913.tar.gz
postgresql-811f7df27454577d723e7f59dd840b09c5286913.zip
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
Diffstat (limited to 'src/backend/parser/parse_target.c')
0 files changed, 0 insertions, 0 deletions