Skip to content

Commit a53536d

Browse files
committed
Add %expect 0 to all parser input files to prevent conflicts slipping by.
1 parent 1b26b07 commit a53536d

File tree

6 files changed

+11
-5
lines changed

6 files changed

+11
-5
lines changed

contrib/cube/cubeparse.y

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/* NdBox = [(lowerleft),(upperright)] */
33
/* [(xLL(1)...xLL(N)),(xUR(1)...xUR(n))] */
44

5-
/* $PostgreSQL: pgsql/contrib/cube/cubeparse.y,v 1.18 2008/09/02 20:37:54 tgl Exp $ */
5+
/* $PostgreSQL: pgsql/contrib/cube/cubeparse.y,v 1.19 2008/11/26 08:45:11 petere Exp $ */
66

77
#define YYPARSE_PARAM result /* need this to pass a pointer (void *) to yyparse */
88
#define YYSTYPE char *
@@ -38,6 +38,7 @@ static NDBOX * write_point_as_box(char *s, int dim);
3838
%}
3939

4040
/* BISON Declarations */
41+
%expect 0
4142
%name-prefix="cube_yy"
4243

4344
%token CUBEFLOAT O_PAREN C_PAREN O_BRACKET C_BRACKET COMMA

contrib/seg/segparse.y

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
%}
4141

4242
/* BISON Declarations */
43+
%expect 0
4344
%name-prefix="seg_yy"
4445

4546
%union {

src/backend/bootstrap/bootparse.y

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
*
1010
*
1111
* IDENTIFICATION
12-
* $PostgreSQL: pgsql/src/backend/bootstrap/bootparse.y,v 1.94 2008/09/02 20:37:54 tgl Exp $
12+
* $PostgreSQL: pgsql/src/backend/bootstrap/bootparse.y,v 1.95 2008/11/26 08:45:11 petere Exp $
1313
*
1414
*-------------------------------------------------------------------------
1515
*/
@@ -91,6 +91,7 @@ int num_columns_read = 0;
9191

9292
%}
9393

94+
%expect 0
9495
%name-prefix="boot_yy"
9596

9697
%union

src/backend/parser/gram.y

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
*
1212
*
1313
* IDENTIFICATION
14-
* $PostgreSQL: pgsql/src/backend/parser/gram.y,v 2.640 2008/11/24 08:46:03 petere Exp $
14+
* $PostgreSQL: pgsql/src/backend/parser/gram.y,v 2.641 2008/11/26 08:45:11 petere Exp $
1515
*
1616
* HISTORY
1717
* AUTHOR DATE MAJOR EVENT
@@ -132,6 +132,7 @@ static TypeName *TableFuncTypeName(List *columns);
132132

133133
%}
134134

135+
%expect 0
135136
%name-prefix="base_yy"
136137
%locations
137138

src/interfaces/ecpg/preproc/ecpg.header

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/ecpg.header,v 1.2 2008/11/14 16:25:34 meskes Exp $ */
1+
/* $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/ecpg.header,v 1.3 2008/11/26 08:45:12 petere Exp $ */
22

33
/* Copyright comment */
44
%{
@@ -372,6 +372,7 @@ add_typedef(char *name, char * dimension, char * length, enum ECPGttype type_enu
372372
}
373373
%}
374374

375+
%expect 0
375376
%name-prefix="base_yy"
376377
%locations
377378

src/pl/plpgsql/src/gram.y

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
*
1010
*
1111
* IDENTIFICATION
12-
* $PostgreSQL: pgsql/src/pl/plpgsql/src/gram.y,v 1.116 2008/11/05 00:07:53 tgl Exp $
12+
* $PostgreSQL: pgsql/src/pl/plpgsql/src/gram.y,v 1.117 2008/11/26 08:45:12 petere Exp $
1313
*
1414
*-------------------------------------------------------------------------
1515
*/
@@ -70,6 +70,7 @@ static List *read_raise_options(void);
7070

7171
%}
7272

73+
%expect 0
7374
%name-prefix="plpgsql_yy"
7475

7576
%union {

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