diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-02-24 08:21:04 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-02-24 08:21:04 +0000 |
commit | 271f6d68d64588b15f5c056736509595d5b15d6b (patch) | |
tree | b86fe742635cbb45f735cc8380ea1ff86797b4e5 /inits.c | |
parent | b14bfba2e98b8837b842397aa13ce76bbb44b034 (diff) | |
download | ruby-271f6d68d64588b15f5c056736509595d5b15d6b.tar.gz |
parse without $.
* io.c (rb_io_gets_internal): read one line from an IO without
setting ARGF.lineno.
* parse.y (lex_io_gets): use rb_io_gets_internal not to affect
$. global variable.
* ruby.c (load_file): no longer reset $.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53913 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'inits.c')
0 files changed, 0 insertions, 0 deletions