From: murphy Date: 2006-12-24T21:47:43+09:00 Subject: rdoc fails to parse complex method def rdoc can't handle the following code and crashes: def (config = "").write(arg) concat(arg.to_s) end (from mkconfig.rb) The internal error was: /usr/local/lib/ruby/1.9/rdoc/parsers/parse_rb.rb:1941:in `parse_method': undefined method `name' for # (NoMethodError) from /usr/local/lib/ruby/1.9/rdoc/parsers/parse_rb.rb:1640:in `parse_statements' from /usr/local/lib/ruby/1.9/rdoc/parsers/parse_rb.rb:1573:in `parse_toplevel_statements' from /usr/local/lib/ruby/1.9/rdoc/parsers/parse_rb.rb:1405:in `RDoc::RubyParser#scan' H The problem seems to be here: name = name_t.name Not all tokens have names. [murphy]