зеркало из https://github.com/github/ruby.git
* 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. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25297 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
e0e3d15f12
Коммит
7af356461a
|
@ -1,3 +1,11 @@
|
|||
Sun Oct 11 10:27:09 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* 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@ruby-lang.org>
|
||||
|
||||
* regparse.c (fetch_token_in_cc): warn when \p is not
|
||||
|
|
|
@ -165,8 +165,6 @@ module IRB
|
|||
@workspace.evaluate self, "_ = IRB.CurrentContext.last_value"
|
||||
end
|
||||
|
||||
attr_reader :irb_name
|
||||
|
||||
def prompt_mode=(mode)
|
||||
@prompt_mode = mode
|
||||
pconf = IRB.conf[:PROMPT][mode]
|
||||
|
|
|
@ -705,7 +705,7 @@ class RubyLex
|
|||
|
||||
@OP.def_rule('@') do
|
||||
|op, io|
|
||||
if peek(0) =~ /[\w_@]/
|
||||
if peek(0) =~ /[\w@]/
|
||||
ungetc
|
||||
identify_identifier
|
||||
else
|
||||
|
|
Загрузка…
Ссылка в новой задаче