diff options
| author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-07-29 06:14:10 +0000 |
|---|---|---|
| committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-07-29 06:14:10 +0000 |
| commit | 0da1ffd32d509d86a89106df0a35bd3f273d2c4e (patch) | |
| tree | c7c2046d45ef6226d94a7ef28e91942efed2408f /lib/irb/ruby-lex.rb | |
| parent | 4d922415c927f0e5ba09ec5bbf11476d8c66f49b (diff) | |
| download | ruby-0da1ffd32d509d86a89106df0a35bd3f273d2c4e.tar.gz ruby-0da1ffd32d509d86a89106df0a35bd3f273d2c4e.tar.xz ruby-0da1ffd32d509d86a89106df0a35bd3f273d2c4e.zip | |
* numeric.c (num_to_int): default to_int implementaion for every
numeric class.
* re.c (rb_reg_quote): initial part of the string was never copied
to the quoted string.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2662 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 e96edef30..1bf47c123 100644 --- a/lib/irb/ruby-lex.rb +++ b/lib/irb/ruby-lex.rb @@ -737,7 +737,7 @@ class RubyLex def identify_identifier token = "" if peek(0) =~ /[$@]/ - token.concat (c = getc) + token.concat(c = getc) if c == "@" and peek(0) == "@" token.concat getc end |
