mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@1137 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
24a286efe1
commit
0b3092922d
9 changed files with 93 additions and 44 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue