ruby-changes:62346
From: Jeremy <ko1@a...>
Date: Wed, 22 Jul 2020 02:42:22 +0900 (JST)
Subject: [ruby-changes:62346] 38480ad507 (master): [ruby/rdoc] Fix parsing of rb_define_module_under
https://git.ruby-lang.org/ruby.git/commit/?id=38480ad507 From 38480ad5078ac1d83031d6b9e25070508b9c034e Mon Sep 17 00:00:00 2001 From: Jeremy Evans <code@j...> Date: Thu, 11 Jun 2020 15:02:28 -0700 Subject: [ruby/rdoc] Fix parsing of rb_define_module_under Fixes Ruby Bug #15819 https://github.com/ruby/rdoc/commit/94a052d833 diff --git a/lib/rdoc/parser/c.rb b/lib/rdoc/parser/c.rb index 707a898..deaef4d 100644 --- a/lib/rdoc/parser/c.rb +++ b/lib/rdoc/parser/c.rb @@ -318,7 +318,7 @@ class RDoc::Parser::C < RDoc::Parser https://github.com/ruby/ruby/blob/trunk/lib/rdoc/parser/c.rb#L318 \s*"(?<module_name_1>\w+)"\s* \) | - _under\s*\( # rb_define_module_under(module_under, module_name_1) + _under\s*\( # rb_define_module_under(module_under, module_name_2) \s*(?<module_under>\w+), \s*"(?<module_name_2>\w+)" \s*\) -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/