summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/ChangeLog-YARV2
-rw-r--r--lib/rubygems/specification.rb2
-rw-r--r--test/rexml/data/tutorial.xml2
-rw-r--r--test/ruby/test_settracefunc.rb2
-rwxr-xr-xtool/instruction.rb2
5 files changed, 5 insertions, 5 deletions
diff --git a/doc/ChangeLog-YARV b/doc/ChangeLog-YARV
index cbc51c5593..9f15062f82 100644
--- a/doc/ChangeLog-YARV
+++ b/doc/ChangeLog-YARV
@@ -4328,7 +4328,7 @@ Sun Dec 31 17:42:05 2006 Koichi Sasada <ko1@atdot.net>
* vm.c : fix to skip pushing value at "next"
- * yarvcore.h : move definision of
+ * yarvcore.h : move definition of
"struct iseq_compile_data_ensure_node_stack" to compile.c
* compile.c : fix ensure catch table creation
diff --git a/lib/rubygems/specification.rb b/lib/rubygems/specification.rb
index e9f126c6e1..e4539d4cad 100644
--- a/lib/rubygems/specification.rb
+++ b/lib/rubygems/specification.rb
@@ -1609,7 +1609,7 @@ class Gem::Specification < Gem::BasicSpecification
##
# Returns the full path to this spec's documentation directory. If +type+
- # is given it will be appended to the end. For examlpe:
+ # is given it will be appended to the end. For example:
#
# spec.doc_dir # => "/path/to/gem_repo/doc/a-1"
#
diff --git a/test/rexml/data/tutorial.xml b/test/rexml/data/tutorial.xml
index 43784d2f02..bf5783d09a 100644
--- a/test/rexml/data/tutorial.xml
+++ b/test/rexml/data/tutorial.xml
@@ -628,7 +628,7 @@ parser.parse</example>
attributes, text) root_node.find_first_recursive {|node| node.name ==
tag and attributes.all? {|attr, val| node.attributes[attr] == val} and
text === node.text } end # # Extract specific columns (specified by
- the position of it's corrensponding # header column) from a table. # #
+ the position of it's corresponding # header column) from a table. # #
Given the following table: # # &lt;table&gt; # &lt;tr&gt; #
&lt;td&gt;A&lt;/td&gt; # &lt;td&gt;B&lt;/td&gt; #
&lt;td&gt;C&lt;/td&gt; # &lt;/tr&gt; # &lt;tr&gt; #
diff --git a/test/ruby/test_settracefunc.rb b/test/ruby/test_settracefunc.rb
index 7e9bcf5d2a..b106ea5494 100644
--- a/test/ruby/test_settracefunc.rb
+++ b/test/ruby/test_settracefunc.rb
@@ -607,7 +607,7 @@ class TestSetTraceFunc < Test::Unit::TestCase
tap{}
trace.disable
- # passed tp is unique, `trace' object which is genereted by TracePoint.trace
+ # passed tp is unique, `trace' object which is generated by TracePoint.trace
tps.each{|tp|
assert_equal trace, tp
}
diff --git a/tool/instruction.rb b/tool/instruction.rb
index 0e992e02c6..8342dde8cb 100755
--- a/tool/instruction.rb
+++ b/tool/instruction.rb
@@ -64,7 +64,7 @@ class RubyVM
def sp_increase_c_expr
if(pops.any?{|t, v| v == '...'} ||
rets.any?{|t, v| v == '...'})
- # user definision
+ # user definition
raise "no sp increase definition" if @sp_inc.nil?
ret = "int inc = 0;\n"