Project

General

Profile

« Previous | Next » 

Revision f8f0d342

Added by naruse (Yui NARUSE) almost 2 years ago

merge revision(s) 3d19409637de1462b6790d2a92344bf0a10d8c52: [Backport #20090]

 Use index for referring to symbols in `args` rule instead of named references In `args: args ',' arg_splat`, `args` is not unique name. Currently the associated rule is interpreted as `$$ = rest_arg_append(p, $$, $3, &@$);`. The action works as expected because `$$` is initialized with `$1` before each action is executed. However it's misleading then change to use index. --- parse.y | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)