ruby-changes:13521
From: nobu <ko1@a...>
Date: Sun, 11 Oct 2009 10:28:17 +0900 (JST)
Subject: [ruby-changes:13521] Ruby:r25297 (trunk): * lib/irb/context.rb (IRB::Context#irb_name): removed duplicated
nobu 2009-10-11 10:27:11 +0900 (Sun, 11 Oct 2009) New Revision: 25297 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=25297 Log: * lib/irb/context.rb (IRB::Context#irb_name): removed duplicated attr_reader. [ruby-core:26047] * lib/irb/ruby-lex.rb (RubyLex#lex_int2): removed duplicated character class range. Modified files: trunk/ChangeLog trunk/lib/irb/context.rb trunk/lib/irb/ruby-lex.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 25296) +++ ChangeLog (revision 25297) @@ -1,3 +1,11 @@ +Sun Oct 11 10:27:09 2009 Nobuyoshi Nakada <nobu@r...> + + * lib/irb/context.rb (IRB::Context#irb_name): removed duplicated + attr_reader. [ruby-core:26047] + + * lib/irb/ruby-lex.rb (RubyLex#lex_int2): removed duplicated + character class range. + Sun Oct 11 10:04:35 2009 NARUSE, Yui <naruse@r...> * regparse.c (fetch_token_in_cc): warn when \p is not Index: lib/irb/context.rb =================================================================== --- lib/irb/context.rb (revision 25296) +++ lib/irb/context.rb (revision 25297) @@ -165,8 +165,6 @@ @workspace.evaluate self, "_ = IRB.CurrentContext.last_value" end - attr_reader :irb_name - def prompt_mode=(mode) @prompt_mode = mode pconf = IRB.conf[:PROMPT][mode] Index: lib/irb/ruby-lex.rb =================================================================== --- lib/irb/ruby-lex.rb (revision 25296) +++ lib/irb/ruby-lex.rb (revision 25297) @@ -705,7 +705,7 @@ @OP.def_rule('@') do |op, io| - if peek(0) =~ /[\w_@]/ + if peek(0) =~ /[\w@]/ ungetc identify_identifier else -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/