From 75cff6289c53155bfa73e7cc98bad0b12fab317f Mon Sep 17 00:00:00 2001 From: eban Date: Wed, 20 Apr 2005 02:04:05 +0000 Subject: [PATCH] * lib/rdoc/parsers/parse_rb.rb (lex_init): use IRB module. [ruby-core:04737] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8361 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 5 +++++ lib/rdoc/parsers/parse_rb.rb | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 1ef719c0ba..57f446bb89 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Wed Apr 20 10:53:30 2005 WATANABE Hirofumi + + * lib/rdoc/parsers/parse_rb.rb (lex_init): use IRB module. + [ruby-core:04737] + Wed Apr 20 07:27:18 2005 Nobuyoshi Nakada * {bcc32,win32,wince}/configure.bat, {bcc32,win32,wince}/setup.mak: diff --git a/lib/rdoc/parsers/parse_rb.rb b/lib/rdoc/parsers/parse_rb.rb index 8e91c01e61..41686aaaac 100644 --- a/lib/rdoc/parsers/parse_rb.rb +++ b/lib/rdoc/parsers/parse_rb.rb @@ -587,7 +587,7 @@ class RubyLex } def lex_init() - @OP = SLex.new + @OP = IRB::SLex.new @OP.def_rules("\0", "\004", "\032") do |chars, io| Token(TkEND_OF_SCRIPT).set_text(chars) end