mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
should not ignore variable-less rest parameter
This commit is contained in:
+2
-1
@@ -2797,7 +2797,8 @@ f_rest_arg : restarg_mark tIDENTIFIER
|
||||
}
|
||||
| restarg_mark
|
||||
{
|
||||
$$ = 0;
|
||||
local_add_f(p, 0);
|
||||
$$ = -1;
|
||||
}
|
||||
;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user