1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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
This commit is contained in:
akr 2007-12-27 08:58:03 +00:00
parent efd7504d44
commit 173f1e1563
5 changed files with 10 additions and 8 deletions

View file

@ -23743,7 +23743,7 @@ from_iso_2022_jp_transcoder_preprocessor(char **in_pos, char **out_pos,
/* SHIFT */
rb_raise(rb_eRuntimeError /*change exception*/, "shift is not supported");
} else if (c1 >= 0x80) {
rb_raise(rb_eRuntimeError /*change exception*/, "illegal byte sequence");
rb_raise(rb_eRuntimeError /*change exception*/, "invalid byte sequence");
} else {
switch (cur_mode) {
case ISO_2022_GZ_ASCII: