summaryrefslogtreecommitdiff
path: root/lib/rdoc/parser/c.rb
diff options
context:
space:
mode:
authorNobuyoshi Nakada <[email protected]>2023-12-15 19:35:16 +0900
committerNobuyoshi Nakada <[email protected]>2023-12-16 00:26:37 +0900
commite15d690db147fb059a48f87bf639fdf0c006a22b (patch)
tree6a2cf3bbb4589383998031b0c5d2335c5986b176 /lib/rdoc/parser/c.rb
parent578eb02b16218ce842a30bf794bf52a68e680a38 (diff)
[ruby/rdoc] [DOC] Add missing documents
https://github.com/ruby/rdoc/commit/e4c90340d0
Diffstat (limited to 'lib/rdoc/parser/c.rb')
-rw-r--r--lib/rdoc/parser/c.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/rdoc/parser/c.rb b/lib/rdoc/parser/c.rb
index 5555818e9e..d668507dc2 100644
--- a/lib/rdoc/parser/c.rb
+++ b/lib/rdoc/parser/c.rb
@@ -1215,6 +1215,9 @@ class RDoc::Parser::C < RDoc::Parser
@top_level
end
+ ##
+ # Creates a RDoc::Comment instance.
+
def new_comment text = nil, location = nil, language = nil
RDoc::Comment.new(text, location, language).tap do |comment|
comment.format = @markup