summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorPeter Eisentraut2008-11-26 08:45:12 +0000
committerPeter Eisentraut2008-11-26 08:45:12 +0000
commita53536d031da5daab9acd8a4cd2c4ce27fcd9983 (patch)
tree42562632859962b4a30fd1c468f5f5012f913180 /contrib
parent1b26b0737924ff2f1197c651f8f8086293e81df9 (diff)
Add %expect 0 to all parser input files to prevent conflicts slipping by.
Diffstat (limited to 'contrib')
-rw-r--r--contrib/cube/cubeparse.y3
-rw-r--r--contrib/seg/segparse.y1
2 files changed, 3 insertions, 1 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 {