From: "Peter A. Bigot" <p...@pabigot.com> CLanguageScanner::needsPreprocessing hard-codes a set of extensions that are normally associated with non-C languages, and denies preprocessing for those extensions. Override this exclusion when EXTENSION_MAPPING has explicitly associated the extension with a C-like language.
Signed-off-by: Peter A. Bigot <p...@pabigot.com> --- src/scanner.l | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/src/scanner.l b/src/scanner.l index 32f00c8..37a3a53 100644 --- a/src/scanner.l +++ b/src/scanner.l @@ -6833,7 +6833,9 @@ void CLanguageScanner::parseCode(CodeOutputInterface & codeOutIntf, bool CLanguageScanner::needsPreprocessing(const QCString &extension) { QCString fe=extension.lower(); - return + SrcLangExt lang = getLanguageFromFileName(extension); + + return (SrcLangExt_Cpp == lang) || !( fe==".java" || fe==".as" || fe==".d" || fe==".php" || fe==".php4" || fe==".inc" || fe==".phtml" ); -- 1.7.7.6 ------------------------------------------------------------------------------ AlienVault Unified Security Management (USM) platform delivers complete security visibility with the essential security capabilities. Easily and efficiently configure, manage, and operate all of your security controls from a single console and one unified framework. Download a free trial. http://p.sf.net/sfu/alienvault_d2d _______________________________________________ Doxygen-users mailing list Doxygen-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/doxygen-users