Skip to content

Commit 241978b

Browse files
Jan WieckJan Wieck
authored andcommitted
The attached patch fixes 4 instances of missing simi-colons in the
PL/PgSQL grammar, which were causing warnings when used with Bison 1.35. Neil Conway <neilconway@rogers.com>
1 parent d1406f1 commit 241978b

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/pl/plpgsql/src/gram.y

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* procedural language
55
*
66
* IDENTIFICATION
7-
* $Header: /cvsroot/pgsql/src/pl/plpgsql/src/gram.y,v 1.31 2002/03/06 18:50:29 momjian Exp $
7+
* $Header: /cvsroot/pgsql/src/pl/plpgsql/src/gram.y,v 1.32 2002/05/01 12:40:22 wieck Exp $
88
*
99
* This software is copyrighted by Jan Wieck - Hamburg.
1010
*
@@ -641,6 +641,7 @@ decl_defval : ';'
641641

642642
decl_defkey : K_ASSIGN
643643
| K_DEFAULT
644+
;
644645

645646
proc_sect :
646647
{
@@ -1024,6 +1025,7 @@ fori_lower :
10241025

10251026
$$.expr = plpgsql_read_expression(K_DOTDOT, "..");
10261027
}
1028+
;
10271029

10281030
stmt_fors : opt_label K_FOR lno fors_target K_IN K_SELECT expr_until_loop loop_body
10291031
{
@@ -1053,6 +1055,7 @@ stmt_fors : opt_label K_FOR lno fors_target K_IN K_SELECT expr_until_loop loop_
10531055

10541056
$$ = (PLpgSQL_stmt *)new;
10551057
}
1058+
;
10561059

10571060
stmt_dynfors : opt_label K_FOR lno fors_target K_IN K_EXECUTE expr_until_loop loop_body
10581061
{
@@ -1082,6 +1085,7 @@ stmt_dynfors : opt_label K_FOR lno fors_target K_IN K_EXECUTE expr_until_loop lo
10821085

10831086
$$ = (PLpgSQL_stmt *)new;
10841087
}
1088+
;
10851089

10861090
fors_target : T_RECORD
10871091
{ $$ = yylval.rec; }

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy