Skip to content

Commit

Permalink
Parse also InitVM-prefixed functions
Browse files Browse the repository at this point in the history
  • Loading branch information
nobu committed Jun 28, 2022
1 parent 6d7bf24 commit 8208381
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rdoc/parser/c.rb
Original file line number Diff line number Diff line change
Expand Up @@ -720,7 +720,7 @@ def find_class_comment class_name, class_mod
((?>/\*.*?\*/\s+))
(static\s+)?
void\s+
Init_#{class_name}\s*(?:_\(\s*)?\(\s*(?:void\s*)?\)%xmi then
Init(?:VM)?_(?i:#{class_name})\s*(?:_\(\s*)?\(\s*(?:void\s*)?\)%xm then
comment = $1.sub(%r%Document-(?:class|module):\s+#{class_name}%, '')
elsif @content =~ %r%Document-(?:class|module):\s+#{class_name}\s*?
(?:<\s+[:,\w]+)?\n((?>.*?\*/))%xm then
Expand Down

0 comments on commit 8208381

Please sign in to comment.