From 1fe8b3742528ccfabee751d7f42317f53d6fdda7 Mon Sep 17 00:00:00 2001 From: nobu Date: Thu, 23 May 2002 07:41:53 +0000 Subject: [PATCH] * 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 --- ChangeLog | 5 +++++ ruby.c | 3 +-- 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 + + * ruby.c (proc_options): option parsing problem. + (ruby-bugs-ja:PR#233) + Thu May 23 09:13:56 2002 Yukihiro Matsumoto * 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': {