diff options
| author | Tom Lane <tgl@sss.pgh.pa.us> | 2009-07-12 17:12:34 +0000 |
|---|---|---|
| committer | Tom Lane <tgl@sss.pgh.pa.us> | 2009-07-12 17:12:34 +0000 |
| commit | 6566e37e027e14a69e263cb82db4a4e31d9cb8b4 (patch) | |
| tree | cbae5de9887767de90c80711e20906f255d247b6 /src/backend/parser/scan.l | |
| parent | 23d830bd9aa6fd78d6b5a51433c94d4e30a1fb84 (diff) | |
| download | postgresql-6566e37e027e14a69e263cb82db4a4e31d9cb8b4.tar.gz | |
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.
Diffstat (limited to 'src/backend/parser/scan.l')
| -rw-r--r-- | src/backend/parser/scan.l | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/backend/parser/scan.l b/src/backend/parser/scan.l index 6e18a41db1..1483627510 100644 --- a/src/backend/parser/scan.l +++ b/src/backend/parser/scan.l @@ -24,7 +24,7 @@ * Portions Copyright (c) 1994, Regents of the University of California * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/parser/scan.l,v 1.153 2009/05/05 21:09:23 tgl Exp $ + * $PostgreSQL: pgsql/src/backend/parser/scan.l,v 1.154 2009/07/12 17:12:34 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -35,8 +35,6 @@ #include "parser/gramparse.h" #include "parser/keywords.h" -/* Not needed now that this file is compiled as part of gram.y */ -/* #include "parser/gram.h" */ #include "parser/scansup.h" #include "mb/pg_wchar.h" |
