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:
parent
efd7504d44
commit
173f1e1563
5 changed files with 10 additions and 8 deletions
|
@ -967,7 +967,7 @@ class RubyLex
|
|||
when /[0-7]/
|
||||
match = /[0-7_]/
|
||||
when /[89]/
|
||||
RubyLex.fail SyntaxError, "Illegal octal digit"
|
||||
RubyLex.fail SyntaxError, "Invalid octal digit"
|
||||
else
|
||||
return Token(TkINTEGER)
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue