1
0
Fork 0
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:
matz 1999-10-21 07:58:14 +00:00
parent 29a7a36d06
commit ad39669418

1
ruby.c
View file

@ -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);
}