mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* eval.c (rb_require_safe): preserve old ruby_errinfo.
[ruby-talk:95409]
* eval.c (rb_f_raise): should not clear backtrace information if
exception object already have one.
* parse.y (assoc_list): allow {sym: val} style Hash. [Ruby2]
this change is done by Nobuyoshi Nakada <nobu@ruby-lang.org>.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5987 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
38fc76574a
commit
aab1ba1365
6 changed files with 59 additions and 22 deletions
|
|
@ -79,7 +79,7 @@ ARGV.options do
|
|||
end
|
||||
|
||||
pp self
|
||||
(print ARGV.options; exit) if @quit
|
||||
begin print ARGV.options; exit end if @quit
|
||||
ARGV.options = nil # no more parse
|
||||
puts "ARGV = #{ARGV.join(' ')}" if !ARGV.empty?
|
||||
#opts.variable.each {|sym| puts "#{sym} = #{opts.send(sym).inspect}"}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue