mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
#! option
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@552 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
29a7a36d06
commit
ad39669418
1 changed files with 1 additions and 0 deletions
1
ruby.c
1
ruby.c
|
@ -729,6 +729,7 @@ load_file(fname, script)
|
|||
if (RSTRING(line)->ptr[RSTRING(line)->len-2] == '\r')
|
||||
RSTRING(line)->ptr[RSTRING(line)->len-2] = '\0';
|
||||
if (p = strstr(p, " -")) {
|
||||
p++; /* skip space before `-' */
|
||||
while (*p == '-') {
|
||||
p = moreswitches(p+1);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue