Project

General

Profile

Bug #1234

RDoc failure in benchmark/bm_so_meteor_contest.rb at or around line 542 column

Added by daigo (daigo moriwaki) over 10 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
Target version:
ruby -v:
ruby 1.9.2dev (2009-03-01 trunk 22688) [x86_64-linux]
Backport:
[ruby-dev:38109]

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 methodtop_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

ruby.rb.diff (564 Bytes) ruby.rb.diff daigo (daigo moriwaki), 03/01/2009 09:03 PM

Related issues

Related to Ruby master - Feature #2635: Unbundle rdocRejected01/23/2010Actions

History

#1

Updated by yugui (Yuki Sonoda) over 10 years ago

  • Category set to lib
  • Assignee set to drbrain (Eric Hodel)
  • Priority changed from 3 to Normal

=begin

=end

#2

Updated by drbrain (Eric Hodel) over 10 years ago

=begin
This is fixed in RDoc trunk.
=end

#3

Updated by drbrain (Eric Hodel) over 9 years ago

  • Status changed from Open to Closed

=begin
Now checked in.
=end

Also available in: Atom PDF