summaryrefslogtreecommitdiff
path: root/ruby.c
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 /ruby.c
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
Diffstat (limited to 'ruby.c')
-rw-r--r--ruby.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ruby.c b/ruby.c
index 6623095..0bc3788 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':
{