diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-12-21 02:31:11 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-12-21 02:31:11 +0000 |
commit | 15c84d07d3db4ae74bc93b7442bd7fed1d3f31b7 (patch) | |
tree | 735cc60c2165cefab0d4cf11cd399e73f8c47f82 /lib | |
parent | e2e973ceeb62d5ecf87e45128bbe985d27227fda (diff) | |
download | ruby-15c84d07d3db4ae74bc93b7442bd7fed1d3f31b7.tar.gz ruby-15c84d07d3db4ae74bc93b7442bd7fed1d3f31b7.tar.xz ruby-15c84d07d3db4ae74bc93b7442bd7fed1d3f31b7.zip |
* regerror.c, string.c, io.c, lib/getoptlong.rb, lib/net/imap.rb,
compile.c, sprintf.c, parse.y, ext/win32ole/win32ole.c,
ext/tk/sample/demos-en/entry3.rb, ext/tk/lib/tcltk.rb,
ext/openssl/ossl_bn.c, numeric.c, vm.c,
benchmark/bm_so_meteor_contest.rb, bignum.c, ruby.c: don't "illegal"
for non law violation context.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14377 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r-- | lib/getoptlong.rb | 2 | ||||
-rw-r--r-- | lib/net/imap.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/getoptlong.rb b/lib/getoptlong.rb index 92c37610d..ba9ca3742 100644 --- a/lib/getoptlong.rb +++ b/lib/getoptlong.rb @@ -570,7 +570,7 @@ class GetoptLong # 1003.2 specifies the format of this message. # if ENV.include?('POSIXLY_CORRECT') - set_error(InvalidOption, "illegal option -- #{ch}") + set_error(InvalidOption, "invalid option -- #{ch}") else set_error(InvalidOption, "invalid option -- #{ch}") end diff --git a/lib/net/imap.rb b/lib/net/imap.rb index 24e1bcee0..ad4787250 100644 --- a/lib/net/imap.rb +++ b/lib/net/imap.rb @@ -3045,7 +3045,7 @@ module Net parse_error("unknown token - %s", $&.dump) end else - parse_error("illegal @lex_state - %s", @lex_state.inspect) + parse_error("invalid @lex_state - %s", @lex_state.inspect) end end |