diff options
| author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2001-01-18 08:43:14 +0000 |
|---|---|---|
| committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2001-01-18 08:43:14 +0000 |
| commit | 4388b897db0ad4945640191c3050e1436c902e81 (patch) | |
| tree | 83fdd95738b0470346716b47dcb3ffdac299764a /lib/irb | |
| parent | 6b06917aa49c9d0cbba5f0019d8db8c9d1738ff1 (diff) | |
| download | ruby-4388b897db0ad4945640191c3050e1436c902e81.tar.gz ruby-4388b897db0ad4945640191c3050e1436c902e81.tar.xz ruby-4388b897db0ad4945640191c3050e1436c902e81.zip | |
* io.c (rb_io_s_read): new method to call IO#read from
pathname. In addition, it accepts third optional argument to
specify starting point.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1137 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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 4c7a3b100..534870e32 100644 --- a/lib/irb/ruby-lex.rb +++ b/lib/irb/ruby-lex.rb @@ -608,7 +608,7 @@ class RubyLex identify_quotation elsif peek(0) == '=' getc - Token(OP_ASGIN, "%") + Token(TkOPASGN, :%) elsif @lex_state == EXPR_ARG and @space_seen and peek(0) !~ /\s/ identify_quotation else |
