aboutsummaryrefslogtreecommitdiffstats
path: root/lib/irb/ruby-lex.rb
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-27 08:58:03 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-27 08:58:03 +0000
commit173f1e1563f5861de78b2bc4e43cd30ea19400c7 (patch)
tree2ea7354ed2f9fbd5f728a7c3445b2eb94f8ff629 /lib/irb/ruby-lex.rb
parentefd7504d44078af85a2ca6c632c18569bc562928 (diff)
downloadruby-173f1e1563f5861de78b2bc4e43cd30ea19400c7.tar.gz
* 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
Diffstat (limited to 'lib/irb/ruby-lex.rb')
-rw-r--r--lib/irb/ruby-lex.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/irb/ruby-lex.rb b/lib/irb/ruby-lex.rb
index 561028fb6c..de9a62a5cb 100644
--- a/lib/irb/ruby-lex.rb
+++ b/lib/irb/ruby-lex.rb
@@ -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