aboutsummaryrefslogtreecommitdiffstats
path: root/random.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-02-24 08:21:04 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-02-24 08:21:04 +0000
commit271f6d68d64588b15f5c056736509595d5b15d6b (patch)
treeb86fe742635cbb45f735cc8380ea1ff86797b4e5 /random.c
parentb14bfba2e98b8837b842397aa13ce76bbb44b034 (diff)
downloadruby-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 'random.c')
0 files changed, 0 insertions, 0 deletions