diff options
author | Takashi Kokubun <takashikkbn@gmail.com> | 2022-09-20 09:43:49 +0900 |
---|---|---|
committer | Takashi Kokubun <takashikkbn@gmail.com> | 2022-09-20 09:43:50 +0900 |
commit | b4546d26f297d25c0e03f5f09864e7b371d65fa8 (patch) | |
tree | 08e80f98fe1a44c54300a0604cb9a64f9d6dc2a0 /tool/mk_builtin_loader.rb | |
parent | 76a0e81f409baf810411677e115bce4f4b05ba5e (diff) | |
download | ruby-b4546d26f297d25c0e03f5f09864e7b371d65fa8.tar.gz |
Fix the trailing comma comment for builtin [ci skip]
so that it's clear why not args.last but args[1]
Diffstat (limited to 'tool/mk_builtin_loader.rb')
-rw-r--r-- | tool/mk_builtin_loader.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/mk_builtin_loader.rb b/tool/mk_builtin_loader.rb index c5bbd79a80..6b4ae121d9 100644 --- a/tool/mk_builtin_loader.rb +++ b/tool/mk_builtin_loader.rb @@ -97,7 +97,7 @@ def collect_builtin base, tree, name, bs, inlines, locals = nil mid = nil end # w/ trailing comma: [[:method_add_arg, ...]] - # w/o trailing comma: [:args_add_block, [[:method_add_arg, ...]]] + # w/o trailing comma: [:args_add_block, [[:method_add_arg, ...]], false] if args && args.first == :args_add_block args = args[1] end |