From 38480ad5078ac1d83031d6b9e25070508b9c034e Mon Sep 17 00:00:00 2001 From: Jeremy Evans Date: Thu, 11 Jun 2020 15:02:28 -0700 Subject: [PATCH] [ruby/rdoc] Fix parsing of rb_define_module_under Fixes Ruby Bug #15819 https://github.com/ruby/rdoc/commit/94a052d833 --- lib/rdoc/parser/c.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/rdoc/parser/c.rb b/lib/rdoc/parser/c.rb index 707a898975..deaef4dc79 100644 --- a/lib/rdoc/parser/c.rb +++ b/lib/rdoc/parser/c.rb @@ -318,7 +318,7 @@ class RDoc::Parser::C < RDoc::Parser \s*"(?\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*(?\w+), \s*"(?\w+)" \s*\)