From 4f077a4d8b8a40b14e14d397fbb1ebd68f74c6eb Mon Sep 17 00:00:00 2001 From: eban Date: Wed, 20 Apr 2005 02:04:05 +0000 Subject: * lib/rdoc/parsers/parse_rb.rb (lex_init): use IRB module. [ruby-core:04737] git-svn-id: http://svn.ruby-lang.org/repos/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 1ef719c0b..57f446bb8 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 8e91c01e6..41686aaaa 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 -- cgit