From: daigo moriwaki Date: 2009-03-01T21:02:27+09:00 Subject: [ruby-dev:38109] [Bug #1234] RDoc failure in benchmark/bm_so_meteor_contest.rb at or around line 542 column Bug #1234: RDoc failure in benchmark/bm_so_meteor_contest.rb at or around line 542 column http://redmine.ruby-lang.org/issues/show/1234 起票者: daigo moriwaki ステータス: Open, 優先度: Low Target version: 1.9.1 ruby -v: ruby 1.9.2dev (2009-03-01 trunk 22688) [x86_64-linux] Making documents fails with the following error: % ./miniruby -I./lib -I.ext/common -I./- -r./ext/purelib.rb ./runruby.rb --extout=.ext -- "./bin/rdoc" --all --ri --op .ext/doc benchmark/bm_so_meteor_contest.rb benchmark/bm_so_meteor_contest.rb: mCmmmmmmmmCmmmmmmmmmmmmmmmm RDoc failure in benchmark/bm_so_meteor_contest.rb at or around line 542 column 0 Before reporting this, could you check that the file you're documenting compiles cleanly--RDoc is not a full Ruby parser, and gets confused easily if fed invalid programs. The internal error was: /home/daigo/cprojects/org/ruby_1_9/lib/rdoc/parser/ruby.rb:2049:in `parse_meta_method': undefined method `top_level' for # (NoMethodError) from /home/daigo/cprojects/org/ruby_1_9/lib/rdoc/parser/ruby.rb:2445:in `parse_statements' from /home/daigo/cprojects/org/ruby_1_9/lib/rdoc/parser/ruby.rb:2540:in `parse_toplevel_statements' from /home/daigo/cprojects/org/ruby_1_9/lib/rdoc/parser/ruby.rb:2706:in `block (2 levels) in scan' ---------------------------------------- http://redmine.ruby-lang.org