Remove no-longer-needed inclusions to improve backward compatibility
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 7 Nov 2002 06:06:17 +0000 (06:06 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 7 Nov 2002 06:06:17 +0000 (06:06 +0000)
with older bison versions.

contrib/cube/cubescan.l
contrib/seg/segscan.l
src/interfaces/ecpg/preproc/pgc.l
src/pl/plpgsql/src/scan.l

index 6fc51e81142463f04771eecd2abda898218f930b..8367477adb7f035e2b89f7419b5dbd6b218f4d08 100644 (file)
@@ -3,18 +3,16 @@
 ** A scanner for EMP-style numeric ranges 
 */
 
-#define YYSTYPE char *
-#define yylval cube_yylval
-
 #include "postgres.h"
 
-#include "cubeparse.h"
 #include "buffer.h"
 
 
-/* flex screws a couple symbols when used with the -P otion; fix those */
+/* flex screws a couple symbols when used with the -P option; fix those */
 #define YY_DECL int cube_yylex YY_PROTO(( void )); \
 int cube_yylex YY_PROTO(( void ))
+#define yylval cube_yylval
+
 
 /* redefined YY_INPUT reads byte-wise from the memory area defined in buffer.c */
 #undef YY_INPUT
index 271168d9f162d410600e5b49407c23bae9de06ab..c0962eca8c5bcbbaf23697d3204ce750f3ee22cf 100644 (file)
@@ -5,11 +5,10 @@
 
 #include "postgres.h"
 
-#include "segparse.h"
 #include "buffer.h"
 
 
-/* flex screws a couple symbols when used with the -P otion; fix those */
+/* flex screws a couple symbols when used with the -P option; fix those */
 #define YY_DECL int seg_yylex YY_PROTO(( void )); \
 int seg_yylex YY_PROTO(( void ))
 #define yylval seg_yylval
index 55758061f7a359528242614f87edd23ba37a69e9..65bd683b9fd7c632ab1c8f0f6dcb904598bf457a 100644 (file)
@@ -12,7 +12,7 @@
  *
  *
  * IDENTIFICATION
- *       $Header: /cvsroot/pgsql/src/interfaces/ecpg/preproc/pgc.l,v 1.100 2002/10/21 13:09:31 meskes Exp $
+ *       $Header: /cvsroot/pgsql/src/interfaces/ecpg/preproc/pgc.l,v 1.101 2002/11/07 06:06:17 tgl Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -24,7 +24,6 @@
 #include <errno.h>
 
 #include "extern.h"
-#include "preproc.h"
 
 
 extern YYSTYPE yylval;
index 697be5139300a931fbae5eee3660b45e93bc79f0..7e89ca83098b8d9e679ed8391ece45ec3d9f0e79 100644 (file)
@@ -4,7 +4,7 @@
  *                       procedural language
  *
  * IDENTIFICATION
- *    $Header: /cvsroot/pgsql/src/pl/plpgsql/src/Attic/scan.l,v 1.23 2002/09/12 00:24:09 momjian Exp $
+ *    $Header: /cvsroot/pgsql/src/pl/plpgsql/src/Attic/scan.l,v 1.24 2002/11/07 06:06:17 tgl Exp $
  *
  *    This software is copyrighted by Jan Wieck - Hamburg.
  *
@@ -37,7 +37,6 @@
  **********************************************************************/
 
 #include "plpgsql.h"
-#include "pl.tab.h"
 
 
 static char    *plpgsql_source;