Commit b34cbe00 authored by Bruce Momjian's avatar Bruce Momjian

The attached patch fixes 2 trivial warnings generated by bison 1.35,

as a result of Peter's recent CREATE CAST changes.

Neil Conway
parent 1ac7db44
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 2.347 2002/07/18 23:11:27 petere Exp $ * $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 2.348 2002/07/20 05:58:34 momjian Exp $
* *
* HISTORY * HISTORY
* AUTHOR DATE MAJOR EVENT * AUTHOR DATE MAJOR EVENT
...@@ -3136,6 +3136,7 @@ CreateCastStmt: CREATE CAST '(' ConstTypename AS ConstTypename ')' ...@@ -3136,6 +3136,7 @@ CreateCastStmt: CREATE CAST '(' ConstTypename AS ConstTypename ')'
n->implicit = $10; n->implicit = $10;
$$ = (Node *)n; $$ = (Node *)n;
} }
;
opt_assignment: AS ASSIGNMENT { $$ = TRUE; } opt_assignment: AS ASSIGNMENT { $$ = TRUE; }
| /*EMPTY*/ { $$ = FALSE; } | /*EMPTY*/ { $$ = FALSE; }
...@@ -3150,6 +3151,7 @@ DropCastStmt: DROP CAST '(' ConstTypename AS ConstTypename ')' opt_drop_behavior ...@@ -3150,6 +3151,7 @@ DropCastStmt: DROP CAST '(' ConstTypename AS ConstTypename ')' opt_drop_behavior
n->behavior = $8; n->behavior = $8;
$$ = (Node *)n; $$ = (Node *)n;
} }
;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment