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

From Andrew Dunstan
Subject Re: pgsql: Move some declarations in the raw-parser header files to create a
Date
Msg-id 4A5A7A47.2030105@dunslane.net
Whole thread Raw
In response to pgsql: Move some declarations in the raw-parser header files to create a  (tgl@postgresql.org (Tom Lane))
Responses Re: pgsql: Move some declarations in the raw-parser header files to create a  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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 by date:

Previous
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Move some declarations in the raw-parser header files to create a
Next
From: Tom Lane
Date:
Subject: Re: pgsql: Move some declarations in the raw-parser header files to create a