summaryrefslogtreecommitdiffstats
path: root/lib/rdoc/parsers
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-06-04 09:37:38 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-06-04 09:37:38 +0000
commitf12e1bb3fa605f99201e02b80752725839e12e1a (patch)
treedcaf4183b65972648531083adbd167bfd1274d38 /lib/rdoc/parsers
parent2e4a24efb251c81855abd25beb6a3ab74ec02ab4 (diff)
downloadruby-f12e1bb3fa605f99201e02b80752725839e12e1a.tar.gz
ruby-f12e1bb3fa605f99201e02b80752725839e12e1a.tar.xz
ruby-f12e1bb3fa605f99201e02b80752725839e12e1a.zip
* lib/rdoc.rb: massive spelling correction patch from Evan Farrar
<evanfarrar at gmail.com> in [ruby-doc:1382] applied. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16810 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rdoc/parsers')
-rw-r--r--lib/rdoc/parsers/parse_c.rb8
-rw-r--r--lib/rdoc/parsers/parse_f95.rb8
-rw-r--r--lib/rdoc/parsers/parse_rb.rb2
3 files changed, 9 insertions, 9 deletions
diff --git a/lib/rdoc/parsers/parse_c.rb b/lib/rdoc/parsers/parse_c.rb
index 5771250cb..745ee7aed 100644
--- a/lib/rdoc/parsers/parse_c.rb
+++ b/lib/rdoc/parsers/parse_c.rb
@@ -117,10 +117,10 @@ module RDoc
# method in the HTML output. This method must be in the same source file
# as the rb_define_method.
#
- # C classes can be diagramed (see /tc/dl/ruby/ruby/error.c), and RDoc
+ # C classes can be diagrammed (see /tc/dl/ruby/ruby/error.c), and RDoc
# integrates C and Ruby source into one tree
#
- # The comment blocks may include special direcives:
+ # The comment blocks may include special directives:
#
# [Document-class: <i>name</i>]
# This comment block is documentation for the given class. Use this
@@ -131,10 +131,10 @@ module RDoc
# automatically find the method from it's declaration
#
# [call-seq: <i>text up to an empty line</i>]
- # Because C source doesn't give descripive names to Ruby-level parameters,
+ # Because C source doesn't give descriptive names to Ruby-level parameters,
# you need to document the calling sequence explicitly
#
- # In additon, RDoc assumes by default that the C method implementing a
+ # In addition, RDoc assumes by default that the C method implementing a
# Ruby function is in the same source file as the rb_define_method call.
# If this isn't the case, add the comment
#
diff --git a/lib/rdoc/parsers/parse_f95.rb b/lib/rdoc/parsers/parse_f95.rb
index f3f6d7610..f1a1ae4d4 100644
--- a/lib/rdoc/parsers/parse_f95.rb
+++ b/lib/rdoc/parsers/parse_f95.rb
@@ -201,7 +201,7 @@ module RDoc
@progress = $stderr unless options.quiet
end
- # devine code constructs
+ # define code constructs
def scan
# remove private comment
@@ -1065,7 +1065,7 @@ module RDoc
#
# If "all" argument is true, information of all arguments are returned.
# If "modified_params" is true, list of arguments are decorated,
- # for exameple, optional arguments are parenthetic as "[arg]".
+ # for example, optional arguments are parenthetic as "[arg]".
#
def find_arguments(args, text, all=nil, indent=nil, modified_params=nil)
return unless args || all
@@ -1143,8 +1143,8 @@ EOF
#
# Comments just after module or subprogram, or arguments are
- # returnd. If "COMMENTS_ARE_UPPER" is true, comments just before
- # modules or subprograms are returnd
+ # returned. If "COMMENTS_ARE_UPPER" is true, comments just before
+ # modules or subprograms are returned
#
def find_comments text
return "" unless text
diff --git a/lib/rdoc/parsers/parse_rb.rb b/lib/rdoc/parsers/parse_rb.rb
index 64f49c97c..5e223bf77 100644
--- a/lib/rdoc/parsers/parse_rb.rb
+++ b/lib/rdoc/parsers/parse_rb.rb
@@ -8,7 +8,7 @@
# This file contains stuff stolen outright from:
#
# rtags.rb -
-# ruby-lex.rb - ruby lexcal analizer
+# ruby-lex.rb - ruby lexcal analyzer
# ruby-token.rb - ruby tokens
# by Keiju ISHITSUKA (Nippon Rational Inc.)
#