projects
/
users
/
bernd
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d13924
)
Fixed two parser bugs.
author
Michael Meskes
<
[email protected]
>
Tue, 6 Nov 2007 08:32:34 +0000
(08:32 +0000)
committer
Michael Meskes
<
[email protected]
>
Tue, 6 Nov 2007 08:32:34 +0000
(08:32 +0000)
src/interfaces/ecpg/preproc/preproc.y
patch
|
blob
|
blame
|
history
diff --git
a/src/interfaces/ecpg/preproc/preproc.y
b/src/interfaces/ecpg/preproc/preproc.y
index d70e4118a0ed7f19f4a9ca97a3d7bed22fc19bb1..d3d0d691261ce4cf46b16abd33cbcdbc0f718e88 100644
(file)
--- a/
src/interfaces/ecpg/preproc/preproc.y
+++ b/
src/interfaces/ecpg/preproc/preproc.y
@@
-1905,6
+1905,10
@@
ConstraintAttributeSpec: ConstraintDeferrabilitySpec { $$ = $1; }
$$ = cat2_str($1, $2);
}
+ | /* EMPTY */
+ {
+ $$ = EMPTY;
+ }
;
ConstraintDeferrabilitySpec: NOT DEFERRABLE
@@
-3140,7
+3144,7
@@
DeleteStmt: DELETE_P FROM relation_expr_opt_alias using_clause where_clause ret
{ $$ = 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; }
;