Commit 323f0a6c authored by Tom Lane's avatar Tom Lane

Fix recent breakage of decl_cursor_arglist syntax, per Michael Paesold.

parent 5b0fa0c2
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* procedural language * procedural language
* *
* IDENTIFICATION * IDENTIFICATION
* $PostgreSQL: pgsql/src/pl/plpgsql/src/gram.y,v 1.80 2005/07/02 17:01:59 momjian Exp $ * $PostgreSQL: pgsql/src/pl/plpgsql/src/gram.y,v 1.81 2005/09/14 13:46:47 tgl Exp $
* *
* This software is copyrighted by Jan Wieck - Hamburg. * This software is copyrighted by Jan Wieck - Hamburg.
* *
...@@ -458,13 +458,13 @@ decl_cursor_args : ...@@ -458,13 +458,13 @@ decl_cursor_args :
} }
; ;
decl_cursor_arglist : decl_cursor_arglist decl_cursor_arg decl_cursor_arglist : decl_cursor_arg
{ {
$$ = lappend($1, $2); $$ = list_make1($1);
} }
| decl_cursor_arg | decl_cursor_arglist ',' decl_cursor_arg
{ {
$$ = list_make1($1); $$ = lappend($1, $3);
} }
; ;
......
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