mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[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:
parent
91afce9afa
commit
adb1ee65b7
5 changed files with 5 additions and 5 deletions
|
@ -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: # # <table> # <tr> #
|
||||
<td>A</td> # <td>B</td> #
|
||||
<td>C</td> # </tr> # <tr> #
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue