1
0
mirror of https://github.com/postgres/postgres.git synced 2025-08-22 21:53:06 +03:00

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

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

Neil Conway
This commit is contained in:
Bruce Momjian
2002-07-20 05:58:34 +00:00
parent 1ac7db4468
commit b34cbe006f

View File

@@ -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 ')'
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
n->behavior = $8; n->behavior = $8;
$$ = (Node *)n; $$ = (Node *)n;
} }
;