diff options
Diffstat (limited to 'lib/irb')
-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 80d392a492..26b0b3b7c2 100644 --- a/lib/irb/ruby-lex.rb +++ b/lib/irb/ruby-lex.rb @@ -948,7 +948,7 @@ class RubyLex allow_point = false when allow_e && "e", allow_e && "E" type = TkFLOAT - if peek(0) =~ /[+\-]/ + if peek(0) =~ /[+-]/ getc end allow_e = false |