1
0
mirror of https://github.com/postgres/postgres.git synced 2025-08-08 06:02:22 +03:00

Remove no-longer-needed inclusions to improve backward compatibility

with older bison versions.
This commit is contained in:
Tom Lane
2002-11-07 06:06:39 +00:00
parent 9515d57d05
commit 7c1364bd19
4 changed files with 6 additions and 11 deletions

View 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

View 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