From 173f1e1563f5861de78b2bc4e43cd30ea19400c7 Mon Sep 17 00:00:00 2001 From: akr Date: Thu, 27 Dec 2007 08:58:03 +0000 Subject: * lib/weakref.rb, lib/irb/ruby-lex.rb, lib/irb/lc/error.rb, enc/trans/japanese.c: change "illegal" to "invalid" in a context which doesn' t against a law. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14736 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/irb/lc/error.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/irb/lc') diff --git a/lib/irb/lc/error.rb b/lib/irb/lc/error.rb index 247596b7fe..d7c2ec9caf 100644 --- a/lib/irb/lc/error.rb +++ b/lib/irb/lc/error.rb @@ -18,7 +18,7 @@ module IRB def_exception :UnrecognizedSwitch, "Unrecognized switch: %s" def_exception :NotImplementedError, "Need to define `%s'" def_exception :CantReturnToNormalMode, "Can't return to normal mode." - def_exception :IllegalParameter, "Illegal parameter(%s)." + def_exception :IllegalParameter, "Invalid parameter(%s)." def_exception :IrbAlreadyDead, "Irb is already dead." def_exception :IrbSwitchedToCurrentThread, "Switched to current thread." def_exception :NoSuchJob, "No such job(%s)." -- cgit v1.2.3