提交 323f0a6c 编写于 作者: T Tom Lane

Fix recent breakage of decl_cursor_arglist syntax, per Michael Paesold.

上级 5b0fa0c2
......@@ -4,7 +4,7 @@
* procedural language
*
* 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.
*
......@@ -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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册