summaryrefslogtreecommitdiff
path: root/parse.y
diff options
context:
space:
mode:
Diffstat (limited to 'parse.y')
-rw-r--r--parse.y4
1 files changed, 4 insertions, 0 deletions
diff --git a/parse.y b/parse.y
index 56c9425a29..8a541a880d 100644
--- a/parse.y
+++ b/parse.y
@@ -4685,6 +4685,10 @@ f_kwrest : kwrest_mark tIDENTIFIER
shadowing_lvar(get_id($2));
$$ = $2;
}
+ | kwrest_mark
+ {
+ $$ = internal_id();
+ }
;
f_opt : tIDENTIFIER '=' arg_value