ruby-changes:1651
From: ko1@a...
Date: 22 Aug 2007 08:50:56 +0900
Subject: [ruby-changes:1651] shyouhei - Ruby:r13142 (ruby_1_8_6): * lib/rdoc/parsers/parse_c.rb (RDoc::C_Parser): handle more
shyouhei 2007-08-22 08:50:48 +0900 (Wed, 22 Aug 2007) New Revision: 13142 Modified files: branches/ruby_1_8_6/lib/rdoc/parsers/parse_c.rb branches/ruby_1_8_6/version.h Log: * lib/rdoc/parsers/parse_c.rb (RDoc::C_Parser): handle more extensions. [ruby-dev:30972] http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8_6/version.h?r1=13142&r2=13141 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8_6/lib/rdoc/parsers/parse_c.rb?r1=13142&r2=13141 Index: ruby_1_8_6/version.h =================================================================== --- ruby_1_8_6/version.h (revision 13141) +++ ruby_1_8_6/version.h (revision 13142) @@ -2,7 +2,7 @@ #define RUBY_RELEASE_DATE "2007-08-22" #define RUBY_VERSION_CODE 186 #define RUBY_RELEASE_CODE 20070822 -#define RUBY_PATCHLEVEL 45 +#define RUBY_PATCHLEVEL 46 #define RUBY_VERSION_MAJOR 1 #define RUBY_VERSION_MINOR 8 Index: ruby_1_8_6/lib/rdoc/parsers/parse_c.rb =================================================================== --- ruby_1_8_6/lib/rdoc/parsers/parse_c.rb (revision 13141) +++ ruby_1_8_6/lib/rdoc/parsers/parse_c.rb (revision 13142) @@ -169,7 +169,7 @@ attr_accessor :progress extend ParserFactory - parse_files_matching(/\.(c|cc|cpp|CC)$/) + parse_files_matching(/\.(?:([CcHh])\1?|c([+xp])\2|y)\z/) @@known_bodies = {} -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml