summaryrefslogtreecommitdiff
path: root/test/ruby
diff options
context:
space:
mode:
authorNARUSE, Yui <naruse@airemix.jp>2024-01-30 18:57:00 +0900
committerNARUSE, Yui <naruse@airemix.jp>2024-01-30 18:57:00 +0900
commitf8f0d342e48a38caac6d32b438c145bb581a51e6 (patch)
tree0add7965139c08aa4d19bc9bb2b948c664fde984 /test/ruby
parent9f18cbd7964f32f224e7d0efba79ee0476a442e0 (diff)
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(-)
Diffstat (limited to 'test/ruby')
0 files changed, 0 insertions, 0 deletions