diff options
author | Jeremy Evans <code@jeremyevans.net> | 2020-06-11 15:02:28 -0700 |
---|---|---|
committer | aycabta <aycabta@gmail.com> | 2020-07-22 02:34:49 +0900 |
commit | 38480ad5078ac1d83031d6b9e25070508b9c034e (patch) | |
tree | b5d9efe4c3d734d1adba372411e42b6b483468b0 /lib/rdoc | |
parent | f76d67f484b55131f45586e5f515db61e9bd41e7 (diff) |
[ruby/rdoc] Fix parsing of rb_define_module_under
Fixes Ruby Bug #15819
https://github.com/ruby/rdoc/commit/94a052d833
Diffstat (limited to 'lib/rdoc')
-rw-r--r-- | lib/rdoc/parser/c.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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*"(?<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*\) |