From adb1ee65b79b3516fc7c6b1a8d5b29c888b23a30 Mon Sep 17 00:00:00 2001 From: a_matsuda Date: Sat, 14 Dec 2013 10:54:54 +0000 Subject: [DOC] Correct a couple of typos in comments by @dvsuresh [Fixes GH-482] * doc/ChangeLog-YARV: Correct a typo in comment * lib/rubygems/specification.rb: ditto. * test/rexml/data/tutorial.xml: ditto. * test/ruby/test_settracefunc.rb: ditto. * tool/instruction.rb: ditto. https://github.com/ruby/ruby/pull/482 [ci-skip] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44208 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- doc/ChangeLog-YARV | 2 +- lib/rubygems/specification.rb | 2 +- test/rexml/data/tutorial.xml | 2 +- test/ruby/test_settracefunc.rb | 2 +- tool/instruction.rb | 2 +- 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 * 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 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: # # <table> # <tr> # <td>A</td> # <td>B</td> # <td>C</td> # </tr> # <tr> # 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" -- cgit v1.2.3