Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitdf7201c

Browse files
committed
Remove no-longer-needed inclusions to improve backward compatibility
with older bison versions.
1 parent2103b7b commitdf7201c

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-
#defineYYSTYPEchar *
7-
#defineyylval 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 -Potion; fix those*/
11+
/* flex screws a couple symbols when used with the -Poption; fix those*/
1612
#defineYY_DECLint cube_yylexYY_PROTO((void )); \
1713
int cube_yylexYY_PROTO((void ))
14+
#defineyylval 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 -Potion; fix those*/
11+
/* flex screws a couple symbols when used with the -Poption; fix those*/
1312
#defineYY_DECLint seg_yylexYY_PROTO((void )); \
1413
int seg_yylexYY_PROTO((void ))
1514
#defineyylval 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
staticchar*plpgsql_source;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp