1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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:
nobu 2009-10-11 01:27:11 +00:00
parent e0e3d15f12
commit 7af356461a
3 changed files with 9 additions and 3 deletions

View file

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

View file

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

View file

@ -705,7 +705,7 @@ class RubyLex
@OP.def_rule('@') do
|op, io|
if peek(0) =~ /[\w_@]/
if peek(0) =~ /[\w@]/
ungetc
identify_identifier
else