PL/PgSQL grammar, which were causing warnings when used with Bison
1.35.
Neil Conway <neilconway@rogers.com>
* procedural language
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/pl/plpgsql/src/gram.y,v 1.31 2002/03/06 18:50:29 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/pl/plpgsql/src/gram.y,v 1.32 2002/05/01 12:40:22 wieck Exp $
*
* This software is copyrighted by Jan Wieck - Hamburg.
*
decl_defkey : K_ASSIGN
| K_DEFAULT
+ ;
proc_sect :
{
$$.expr = plpgsql_read_expression(K_DOTDOT, "..");
}
+ ;
stmt_fors : opt_label K_FOR lno fors_target K_IN K_SELECT expr_until_loop loop_body
{
$$ = (PLpgSQL_stmt *)new;
}
+ ;
stmt_dynfors : opt_label K_FOR lno fors_target K_IN K_EXECUTE expr_until_loop loop_body
{
$$ = (PLpgSQL_stmt *)new;
}
+ ;
fors_target : T_RECORD
{ $$ = yylval.rec; }