1 # Copyright 2011 John Maddock. Distributed under the Boost
2 # Software License, Version 1.0. (See accompanying file
3 # LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
5 # Rewrite the class scanner to accept declarations, not just definitions,
6 # as the docs don't include full definitions.
8 !define-scanner class_name "^[[:space:]]*(template[[:space:]]*<[^;:{]+>[[:space:]]*)?(class|struct)[[:space:]]*(\<\w+\>([[:blank:]]*\([^)]*\))?[[:space:]]*)*(\<\w*\>)[[:space:]]*(<[^;:{]+>)?[[:space:]]*(\{|:[^;\{()]*\{)" "(?:class|struct)[^;{]+\\<\5\\>\\s*[;{]" \5
10 !scan-path boost/multiprecision .*\.hpp true