summaryrefslogtreecommitdiff
path: root/parse.y
diff options
context:
space:
mode:
Diffstat (limited to 'parse.y')
-rw-r--r--parse.y11
1 files changed, 7 insertions, 4 deletions
diff --git a/parse.y b/parse.y
index e47dac4304..bfddcfb34a 100644
--- a/parse.y
+++ b/parse.y
@@ -3727,13 +3727,16 @@ block_param_def : '|' opt_bv_decl '|'
;
-opt_bv_decl : none
- | ';' bv_decls
+opt_bv_decl : opt_nl
+ {
+ $$ = 0;
+ }
+ | opt_nl ';' bv_decls opt_nl
{
/*%%%*/
$$ = 0;
/*%
- $$ = $2;
+ $$ = $3;
%*/
}
;
@@ -3788,7 +3791,7 @@ lambda : {
}
;
-f_larglist : '(' f_args opt_bv_decl rparen
+f_larglist : '(' f_args opt_bv_decl ')'
{
/*%%%*/
$$ = $2;