summaryrefslogtreecommitdiffhomepage
path: root/src/parse.y
diff options
context:
space:
mode:
Diffstat (limited to 'src/parse.y')
-rw-r--r--src/parse.y5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/parse.y b/src/parse.y
index a8bee8237..43c0c7321 100644
--- a/src/parse.y
+++ b/src/parse.y
@@ -3065,10 +3065,9 @@ f_opt : f_opt_asgn arg_value
}
;
-f_block_opt : tIDENTIFIER '=' primary_value
+f_block_opt : f_opt_asgn primary_value
{
- local_add_f(p, $1);
- $$ = cons(nsym($1), $3);
+ $$ = cons(nsym($1), $2);
}
;