Commit e9d7bd26 authored by Michael Meskes's avatar Michael Meskes

Fixed two parser bugs.

parent 5e512971
...@@ -2264,6 +2264,10 @@ Wed, 03 Oct 2007 10:48:39 +0200 ...@@ -2264,6 +2264,10 @@ Wed, 03 Oct 2007 10:48:39 +0200
Wed, 10 Oct 2007 08:31:44 +0200 Wed, 10 Oct 2007 08:31:44 +0200
- Synced parser and keyword list. - Synced parser and keyword list.
Tue, 06 Nov 2007 09:29:22 +0100
- Fixed two parser bugs.
- Set pgtypes library version to 3.0. - Set pgtypes library version to 3.0.
- Set compat library version to 3.0. - Set compat library version to 3.0.
- Set ecpg library version to 6.0. - Set ecpg library version to 6.0.
......
/* $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/preproc.y,v 1.354 2007/10/10 06:33:17 meskes Exp $ */ /* $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/preproc.y,v 1.355 2007/11/06 08:32:08 meskes Exp $ */
/* Copyright comment */ /* Copyright comment */
%{ %{
...@@ -2024,6 +2024,10 @@ ConstraintAttributeSpec: ConstraintDeferrabilitySpec { $$ = $1; } ...@@ -2024,6 +2024,10 @@ ConstraintAttributeSpec: ConstraintDeferrabilitySpec { $$ = $1; }
$$ = cat2_str($1, $2); $$ = cat2_str($1, $2);
} }
| /* EMPTY */
{
$$ = EMPTY;
}
; ;
ConstraintDeferrabilitySpec: NOT DEFERRABLE ConstraintDeferrabilitySpec: NOT DEFERRABLE
...@@ -3413,7 +3417,7 @@ DeleteStmt: DELETE_P FROM relation_expr_opt_alias using_clause where_or_current ...@@ -3413,7 +3417,7 @@ DeleteStmt: DELETE_P FROM relation_expr_opt_alias using_clause where_or_current
{ $$ = cat_str(5, make_str("delete from"), $3, $4, $5, $6); } { $$ = cat_str(5, make_str("delete from"), $3, $4, $5, $6); }
; ;
using_clause: USING from_list { cat2_str(make_str("using"), $2); } using_clause: USING from_list { $$ = cat2_str(make_str("using"), $2); }
| /* EMPTY */ { $$ = EMPTY; } | /* EMPTY */ { $$ = EMPTY; }
; ;
......
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