aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2008-11-26 08:45:12 +0000
committerPeter Eisentraut <peter_e@gmx.net>2008-11-26 08:45:12 +0000
commita53536d031da5daab9acd8a4cd2c4ce27fcd9983 (patch)
tree42562632859962b4a30fd1c468f5f5012f913180
parent1b26b0737924ff2f1197c651f8f8086293e81df9 (diff)
downloadpostgresql-a53536d031da5daab9acd8a4cd2c4ce27fcd9983.tar.gz
postgresql-a53536d031da5daab9acd8a4cd2c4ce27fcd9983.zip
Add %expect 0 to all parser input files to prevent conflicts slipping by.
-rw-r--r--contrib/cube/cubeparse.y3
-rw-r--r--contrib/seg/segparse.y1
-rw-r--r--src/backend/bootstrap/bootparse.y3
-rw-r--r--src/backend/parser/gram.y3
-rw-r--r--src/interfaces/ecpg/preproc/ecpg.header3
-rw-r--r--src/pl/plpgsql/src/gram.y3
6 files changed, 11 insertions, 5 deletions
diff --git a/contrib/cube/cubeparse.y b/contrib/cube/cubeparse.y
index eefe5c47b99..13dc4f55b0b 100644
--- a/contrib/cube/cubeparse.y
+++ b/contrib/cube/cubeparse.y
@@ -2,7 +2,7 @@
/* NdBox = [(lowerleft),(upperright)] */
/* [(xLL(1)...xLL(N)),(xUR(1)...xUR(n))] */
-/* $PostgreSQL: pgsql/contrib/cube/cubeparse.y,v 1.18 2008/09/02 20:37:54 tgl Exp $ */
+/* $PostgreSQL: pgsql/contrib/cube/cubeparse.y,v 1.19 2008/11/26 08:45:11 petere Exp $ */
#define YYPARSE_PARAM result /* need this to pass a pointer (void *) to yyparse */
#define YYSTYPE char *
@@ -38,6 +38,7 @@ static NDBOX * write_point_as_box(char *s, int dim);
%}
/* BISON Declarations */
+%expect 0
%name-prefix="cube_yy"
%token CUBEFLOAT O_PAREN C_PAREN O_BRACKET C_BRACKET COMMA
diff --git a/contrib/seg/segparse.y b/contrib/seg/segparse.y
index 47e3d398aae..ca351c661b3 100644
--- a/contrib/seg/segparse.y
+++ b/contrib/seg/segparse.y
@@ -40,6 +40,7 @@
%}
/* BISON Declarations */
+%expect 0
%name-prefix="seg_yy"
%union {
diff --git a/src/backend/bootstrap/bootparse.y b/src/backend/bootstrap/bootparse.y
index 9997566002e..fd331585491 100644
--- a/src/backend/bootstrap/bootparse.y
+++ b/src/backend/bootstrap/bootparse.y
@@ -9,7 +9,7 @@
*
*
* IDENTIFICATION
- * $PostgreSQL: pgsql/src/backend/bootstrap/bootparse.y,v 1.94 2008/09/02 20:37:54 tgl Exp $
+ * $PostgreSQL: pgsql/src/backend/bootstrap/bootparse.y,v 1.95 2008/11/26 08:45:11 petere Exp $
*
*-------------------------------------------------------------------------
*/
@@ -91,6 +91,7 @@ int num_columns_read = 0;
%}
+%expect 0
%name-prefix="boot_yy"
%union
diff --git a/src/backend/parser/gram.y b/src/backend/parser/gram.y
index 7567d90c3fd..767312626d3 100644
--- a/src/backend/parser/gram.y
+++ b/src/backend/parser/gram.y
@@ -11,7 +11,7 @@
*
*
* IDENTIFICATION
- * $PostgreSQL: pgsql/src/backend/parser/gram.y,v 2.640 2008/11/24 08:46:03 petere Exp $
+ * $PostgreSQL: pgsql/src/backend/parser/gram.y,v 2.641 2008/11/26 08:45:11 petere Exp $
*
* HISTORY
* AUTHOR DATE MAJOR EVENT
@@ -132,6 +132,7 @@ static TypeName *TableFuncTypeName(List *columns);
%}
+%expect 0
%name-prefix="base_yy"
%locations
diff --git a/src/interfaces/ecpg/preproc/ecpg.header b/src/interfaces/ecpg/preproc/ecpg.header
index a626e4cd420..ccd1aec898f 100644
--- a/src/interfaces/ecpg/preproc/ecpg.header
+++ b/src/interfaces/ecpg/preproc/ecpg.header
@@ -1,4 +1,4 @@
-/* $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/ecpg.header,v 1.2 2008/11/14 16:25:34 meskes Exp $ */
+/* $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/ecpg.header,v 1.3 2008/11/26 08:45:12 petere Exp $ */
/* Copyright comment */
%{
@@ -372,6 +372,7 @@ add_typedef(char *name, char * dimension, char * length, enum ECPGttype type_enu
}
%}
+%expect 0
%name-prefix="base_yy"
%locations
diff --git a/src/pl/plpgsql/src/gram.y b/src/pl/plpgsql/src/gram.y
index 4d031fc2c61..24434decb21 100644
--- a/src/pl/plpgsql/src/gram.y
+++ b/src/pl/plpgsql/src/gram.y
@@ -9,7 +9,7 @@
*
*
* IDENTIFICATION
- * $PostgreSQL: pgsql/src/pl/plpgsql/src/gram.y,v 1.116 2008/11/05 00:07:53 tgl Exp $
+ * $PostgreSQL: pgsql/src/pl/plpgsql/src/gram.y,v 1.117 2008/11/26 08:45:12 petere Exp $
*
*-------------------------------------------------------------------------
*/
@@ -70,6 +70,7 @@ static List *read_raise_options(void);
%}
+%expect 0
%name-prefix="plpgsql_yy"
%union {