summaryrefslogtreecommitdiffstats
path: root/lib/rdoc/parsers/parse_rb.rb
diff options
context:
space:
mode:
authoreban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-04-20 02:04:05 +0000
committereban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-04-20 02:04:05 +0000
commit4f077a4d8b8a40b14e14d397fbb1ebd68f74c6eb (patch)
tree0e2bca94dad2664c98a18c7db07e2aef1e26d648 /lib/rdoc/parsers/parse_rb.rb
parent5636e84bae870e1bf21d7248b86d1140f6e5af71 (diff)
downloadruby-4f077a4d8b8a40b14e14d397fbb1ebd68f74c6eb.tar.gz
ruby-4f077a4d8b8a40b14e14d397fbb1ebd68f74c6eb.tar.xz
ruby-4f077a4d8b8a40b14e14d397fbb1ebd68f74c6eb.zip
* 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
Diffstat (limited to 'lib/rdoc/parsers/parse_rb.rb')
-rw-r--r--lib/rdoc/parsers/parse_rb.rb2
1 files changed, 1 insertions, 1 deletions
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