Re: pgsql: Move some declarations in the raw-parser header files to create a

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: pgsql: Move some declarations in the raw-parser header files to create a
Дата
Msg-id 4A5A7A47.2030105@dunslane.net
обсуждение исходный текст
Ответ на pgsql: Move some declarations in the raw-parser header files to create a  (tgl@postgresql.org (Tom Lane))
Ответы Re: pgsql: Move some declarations in the raw-parser header files to create a
Список pgsql-committers

Tom Lane wrote:
> Log Message:
> -----------
> Move some declarations in the raw-parser header files to create a clearer
> distinction between the external API (parser.h) and declarations that only
> need to be visible within the raw parser code (gramparse.h, which now is only
> included by parser.c, gram.y, scan.l, and keywords.c).  This is in preparation
> for the upcoming change to a reentrant lexer, which will require referencing
> YYSTYPE in the declarations of base_yylex and filtered_base_yylex, hence
> gram.h will have to be included by gramparse.h.  We don't want any more files
> than absolutely necessary to depend on gram.h, so some cleanup is called for.
>

Seems to have broken MSVC:

src\pl\plpgsql\src\scan.l(46): error C2370: 'standard_conforming_strings' : redefinition; different storage class

cheers

andrew






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

Предыдущее
От: tgl@postgresql.org (Tom Lane)
Дата:
Сообщение: pgsql: Move some declarations in the raw-parser header files to create a
Следующее
От: Tom Lane
Дата:
Сообщение: Re: pgsql: Move some declarations in the raw-parser header files to create a