Skip to content

Commit 52501b3

Browse files
committed
* lib/rdoc/parsers/parse_c.rb (RDoc::C_Parser): handle more
extensions. [ruby-dev:30972] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13142 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
1 parent d931637 commit 52501b3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/rdoc/parsers/parse_c.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ class C_Parser
169169
attr_accessor :progress
170170

171171
extend ParserFactory
172-
parse_files_matching(/\.(c|cc|cpp|CC)$/)
172+
parse_files_matching(/\.(?:([CcHh])\1?|c([+xp])\2|y)\z/)
173173

174174
@@known_bodies = {}
175175

version.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#define RUBY_RELEASE_DATE "2007-08-22"
33
#define RUBY_VERSION_CODE 186
44
#define RUBY_RELEASE_CODE 20070822
5-
#define RUBY_PATCHLEVEL 45
5+
#define RUBY_PATCHLEVEL 46
66

77
#define RUBY_VERSION_MAJOR 1
88
#define RUBY_VERSION_MINOR 8

0 commit comments

Comments
 (0)