Bug #1234
closedRDoc failure in benchmark/bm_so_meteor_contest.rb at or around line 542 column
Description
=begin
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 #RDoc::TopLevel:0x00000002bda180 (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'
=end
Files
Updated by yugui (Yuki Sonoda) over 15 years ago
- Category set to lib
- Assignee set to drbrain (Eric Hodel)
- Priority changed from 3 to Normal
=begin
=end
Updated by drbrain (Eric Hodel) over 15 years ago
=begin
This is fixed in RDoc trunk.
=end
Updated by drbrain (Eric Hodel) over 14 years ago
- Status changed from Open to Closed
=begin
Now checked in.
=end