From 057a5d7bf41cd9449a0562882e9f4f5d1113d82f Mon Sep 17 00:00:00 2001 From: shyouhei Date: Tue, 21 Aug 2007 23:50:48 +0000 Subject: * lib/rdoc/parsers/parse_c.rb (RDoc::C_Parser): handle more extensions. [ruby-dev:30972] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@13142 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/rdoc/parsers/parse_c.rb | 2 +- version.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/rdoc/parsers/parse_c.rb b/lib/rdoc/parsers/parse_c.rb index 1311c5087..25fc66af3 100644 --- a/lib/rdoc/parsers/parse_c.rb +++ b/lib/rdoc/parsers/parse_c.rb @@ -169,7 +169,7 @@ module RDoc attr_accessor :progress extend ParserFactory - parse_files_matching(/\.(c|cc|cpp|CC)$/) + parse_files_matching(/\.(?:([CcHh])\1?|c([+xp])\2|y)\z/) @@known_bodies = {} diff --git a/version.h b/version.h index eae95da75..10c84da32 100644 --- a/version.h +++ b/version.h @@ -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 -- cgit