• Tom Lane's avatar
    Move some declarations in the raw-parser header files to create a clearer · 6566e37e
    Tom Lane authored
    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.
    6566e37e
proclang.c 17.3 KB