[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
This commit is contained in:
a_matsuda 2013-12-14 10:54:54 +00:00
Родитель 91afce9afa
Коммит adb1ee65b7
5 изменённых файлов: 5 добавлений и 5 удалений

Просмотреть файл

@ -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

Просмотреть файл

@ -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"
#

Просмотреть файл

@ -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; #

Просмотреть файл

@ -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
}

Просмотреть файл

@ -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"