Explorar o código

Merge pull request #2083 from thewheat/cpp-parse-more-entries

CPP scrape entries ending with <typename>
Simon Legner hai 1 ano
pai
achega
2ac4b4a001
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      lib/docs/filters/cpp/entries.rb

+ 1 - 1
lib/docs/filters/cpp/entries.rb

@@ -52,7 +52,7 @@ module Docs
         name.remove! %r{\s\(.+\)}
 
         name.sub! %r{\AStandard library header <(.+)>\z}, '\1'
-        name.sub! %r{(<[^>]+>)}, ''
+        name.sub! %r{(<[^>]+>::)}, '::'
 
         if name.include?('operator') && name.include?(',')
           name.sub!(%r{operator.+([\( ])}, 'operators (') || name.sub!(%r{operator.+}, 'operators')