[前][次][番号順一覧][スレッド一覧]

ruby-changes:57637

From: Kazuhiro <ko1@a...>
Date: Sat, 7 Sep 2019 13:50:18 +0900 (JST)
Subject: [ruby-changes:57637] f223ab47e6 (master): [DOC] Update output of Ripper.sexp [ci skip]

https://git.ruby-lang.org/ruby.git/commit/?id=f223ab47e6

From f223ab47e6e41e4a5f0307a5202b4f5c534a3596 Mon Sep 17 00:00:00 2001
From: Kazuhiro NISHIYAMA <zn@m...>
Date: Sat, 7 Sep 2019 13:49:47 +0900
Subject: [DOC] Update output of Ripper.sexp [ci skip]


diff --git a/ext/ripper/lib/ripper/sexp.rb b/ext/ripper/lib/ripper/sexp.rb
index b52dd30..e71d52c 100644
--- a/ext/ripper/lib/ripper/sexp.rb
+++ b/ext/ripper/lib/ripper/sexp.rb
@@ -25,7 +25,7 @@ class Ripper https://github.com/ruby/ruby/blob/trunk/ext/ripper/lib/ripper/sexp.rb#L25
   #     #=> [:program,
   #          [[:def,
   #           [:@ident, "m", [1, 4]],
-  #           [:paren, [:params, [[:@ident, "a", [1, 6]]], nil, nil, nil, nil]],
+  #           [:paren, [:params, [[:@ident, "a", [1, 6]]], nil, nil, nil, nil, nil, nil]],
   #           [:bodystmt, [[:var_ref, [:@kw, "nil", [1, 9]]]], nil, nil, nil]]]]
   #
   def Ripper.sexp(src, filename = '-', lineno = 1)
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]