pgsql/src/interfaces/ecpg preproc/pgc.l test/t ...

Поиск
Список
Период
Сортировка
От momjian@postgresql.org (Bruce Momjian - CVS)
Тема pgsql/src/interfaces/ecpg preproc/pgc.l test/t ...
Дата
Msg-id 20020405113948.776FB475B08@postgresql.org
обсуждение исходный текст
Список pgsql-committers
CVSROOT:    /cvsroot
Module name:    pgsql
Changes by:    momjian@postgresql.org    02/04/05 06:39:47

Modified files:
    src/interfaces/ecpg/preproc: pgc.l
    src/interfaces/ecpg/test: test1.pgc

Log message:
    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


В списке pgsql-committers по дате отправления:

Предыдущее
От: momjian@postgresql.org (Bruce Momjian - CVS)
Дата:
Сообщение: pgsql/src/backend/storage/lmgr s_lock.c
Следующее
От: momjian@postgresql.org (Bruce Momjian - CVS)
Дата:
Сообщение: pgsql/src/bin/pg_dump pg_dump.c pg_dump.h