From 60650dc7f92493d2a325fad804c571ffc6777582 Mon Sep 17 00:00:00 2001 From: Arnaud Giersch Date: Thu, 21 Nov 2013 11:01:40 +0100 Subject: [PATCH] Parse c++ files too. --- tools/doxygen/xbt_log_extract_hierarchy.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/doxygen/xbt_log_extract_hierarchy.pl b/tools/doxygen/xbt_log_extract_hierarchy.pl index 8544ab92d1..3a0a70e464 100755 --- a/tools/doxygen/xbt_log_extract_hierarchy.pl +++ b/tools/doxygen/xbt_log_extract_hierarchy.pl @@ -86,7 +86,7 @@ sub parse_file { } # Retrieve all the file names, and add their content to $data my $data; -open FILES, "find ../src/ ../tools/ ../include/ -name '*.c'|" || die "Cannot search for the source file names: $!\n"; +open FILES, "find ../src/ ../tools/ ../include/ -name '*.c' -o -name '*.cpp' |" || die "Cannot search for the source file names: $!\n"; while (my $file=) { chomp $file; parse_file($file); -- 2.20.1