aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/rdoc/.document1
-rw-r--r--lib/rdoc/parser/c.rb6
2 files changed, 4 insertions, 3 deletions
diff --git a/lib/rdoc/.document b/lib/rdoc/.document
index 41333c6411..6b5e1b21a5 100644
--- a/lib/rdoc/.document
+++ b/lib/rdoc/.document
@@ -1 +1,2 @@
*.rb
+parser
diff --git a/lib/rdoc/parser/c.rb b/lib/rdoc/parser/c.rb
index 43a5df9126..e2283088cc 100644
--- a/lib/rdoc/parser/c.rb
+++ b/lib/rdoc/parser/c.rb
@@ -69,15 +69,15 @@ require 'tsort'
# [Document-variable: +name+]
# Documentation for the named +rb_define_variable+
#
-# [Document-method: +method_name+]
+# [Document-method\: +method_name+]
# Documentation for the named method. Use this when the method name is
# unambiguous.
#
-# [Document-method: <tt>ClassName::method_name</tt>]
+# [Document-method\: <tt>ClassName::method_name</tt>]
# Documentation for a singleton method in the given class. Use this when
# the method name alone is ambiguous.
#
-# [Document-method: <tt>ClassName#method_name</tt>]
+# [Document-method\: <tt>ClassName#method_name</tt>]
# Documentation for a instance method in the given class. Use this when the
# method name alone is ambiguous.
#