diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-10-11 01:27:11 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-10-11 01:27:11 +0000 |
commit | 7af356461a37225fe8f50892620b6d08e3fa1717 (patch) | |
tree | 1729485c52a04fb48f5db9dbae52a2de040e9e2d /lib/irb/ruby-lex.rb | |
parent | e0e3d15f12d795ff00a7926283fbee81f7f7a5cc (diff) | |
download | ruby-7af356461a37225fe8f50892620b6d08e3fa1717.tar.gz |
* 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
Diffstat (limited to 'lib/irb/ruby-lex.rb')
-rw-r--r-- | lib/irb/ruby-lex.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/irb/ruby-lex.rb b/lib/irb/ruby-lex.rb index b49337c1c6..5a6c2894fb 100644 --- a/lib/irb/ruby-lex.rb +++ b/lib/irb/ruby-lex.rb @@ -705,7 +705,7 @@ class RubyLex @OP.def_rule('@') do |op, io| - if peek(0) =~ /[\w_@]/ + if peek(0) =~ /[\w@]/ ungetc identify_identifier else |