Skip to content

Commit df7201c

Browse files
committed
Remove no-longer-needed inclusions to improve backward compatibility
with older bison versions.
1 parent 2103b7b commit df7201c

File tree

4 files changed

+6
-11
lines changed

4 files changed

+6
-11
lines changed

contrib/cube/cubescan.l

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,16 @@
33
** A scanner for EMP-style numeric ranges
44
*/
55

6-
#define YYSTYPE char *
7-
#define yylval cube_yylval
8-
96
#include "postgres.h"
107

11-
#include "cubeparse.h"
128
#include "buffer.h"
139

1410

15-
/* flex screws a couple symbols when used with the -P otion; fix those */
11+
/* flex screws a couple symbols when used with the -P option; fix those */
1612
#define YY_DECL int cube_yylex YY_PROTO(( void )); \
1713
int cube_yylex YY_PROTO(( void ))
14+
#define yylval cube_yylval
15+
1816

1917
/* redefined YY_INPUT reads byte-wise from the memory area defined in buffer.c */
2018
#undef YY_INPUT

contrib/seg/segscan.l

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,10 @@
55

66
#include "postgres.h"
77

8-
#include "segparse.h"
98
#include "buffer.h"
109

1110

12-
/* flex screws a couple symbols when used with the -P otion; fix those */
11+
/* flex screws a couple symbols when used with the -P option; fix those */
1312
#define YY_DECL int seg_yylex YY_PROTO(( void )); \
1413
int seg_yylex YY_PROTO(( void ))
1514
#define yylval seg_yylval

src/interfaces/ecpg/preproc/pgc.l

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
*
1313
*
1414
* IDENTIFICATION
15-
* $Header: /cvsroot/pgsql/src/interfaces/ecpg/preproc/pgc.l,v 1.100 2002/10/21 13:09:31 meskes Exp $
15+
* $Header: /cvsroot/pgsql/src/interfaces/ecpg/preproc/pgc.l,v 1.101 2002/11/07 06:06:17 tgl Exp $
1616
*
1717
*-------------------------------------------------------------------------
1818
*/
@@ -24,7 +24,6 @@
2424
#include <errno.h>
2525

2626
#include "extern.h"
27-
#include "preproc.h"
2827

2928

3029
extern YYSTYPE yylval;

src/pl/plpgsql/src/scan.l

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* procedural language
55
*
66
* IDENTIFICATION
7-
* $Header: /cvsroot/pgsql/src/pl/plpgsql/src/Attic/scan.l,v 1.23 2002/09/12 00:24:09 momjian Exp $
7+
* $Header: /cvsroot/pgsql/src/pl/plpgsql/src/Attic/scan.l,v 1.24 2002/11/07 06:06:17 tgl Exp $
88
*
99
* This software is copyrighted by Jan Wieck - Hamburg.
1010
*
@@ -37,7 +37,6 @@
3737
**********************************************************************/
3838

3939
#include "plpgsql.h"
40-
#include "pl.tab.h"
4140

4241

4342
static char *plpgsql_source;

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy