Remove no-longer-needed inclusions to improve backward compatibility
with older bison versions.
This commit is contained in:
parent
2103b7baa2
commit
df7201c3c5
@ -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
|
||||
|
@ -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
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user