summaryrefslogtreecommitdiffhomepage
path: root/src/parse.y
diff options
context:
space:
mode:
Diffstat (limited to 'src/parse.y')
-rw-r--r--src/parse.y7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/parse.y b/src/parse.y
index fab6397e6..43c0c7321 100644
--- a/src/parse.y
+++ b/src/parse.y
@@ -3061,14 +3061,13 @@ f_opt_asgn : tIDENTIFIER '='
f_opt : f_opt_asgn arg_value
{
- $$ = cons(nsym($1), $2);
+ $$ = cons(nsym($1), $2);
}
;
-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);
}
;