diff options
Diffstat (limited to 'lib/rdoc/parsers/parse_c.rb')
-rw-r--r-- | lib/rdoc/parsers/parse_c.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rdoc/parsers/parse_c.rb b/lib/rdoc/parsers/parse_c.rb index ec9ae1877d..49f53b5e08 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/) @@enclosure_classes = {} @@known_bodies = {} |