summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-05-23 07:41:53 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-05-23 07:41:53 +0000
commit1fe8b3742528ccfabee751d7f42317f53d6fdda7 (patch)
tree8f785491bcd3bb91b7a93a688194697758145f33
parent6e87a54aecec13d500f90ed4a19ffebc6883794b (diff)
* ruby.c (proc_options): option parsing problem.
(ruby-bugs-ja:PR#233) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2496 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog5
-rw-r--r--ruby.c3
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 3f43f749eac..0ee45b26ea4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Thu May 23 16:39:21 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
+
+ * ruby.c (proc_options): option parsing problem.
+ (ruby-bugs-ja:PR#233)
+
Thu May 23 09:13:56 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* ruby.c (proc_options): removed "-*-" support for #! line.
diff --git a/ruby.c b/ruby.c
index 66230956c07..0bc37885971 100644
--- a/ruby.c
+++ b/ruby.c
@@ -561,7 +561,6 @@ proc_options(argc, argv)
s += numlen;
}
rb_set_safe_level(v);
- s += numlen;
}
goto reswitch;
@@ -573,7 +572,7 @@ proc_options(argc, argv)
ruby_incpush(argv[1]);
argc--,argv++;
}
- goto reswitch;
+ break;
case '0':
{