summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--ruby.c3
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 3f43f749ea..0ee45b26ea 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 66230956c0..0bc3788597 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':
{