From: Arnaud Giersch Date: Thu, 21 Nov 2013 10:01:40 +0000 (+0100) Subject: Parse c++ files too. X-Git-Tag: v3_11_beta~244 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/60650dc7f92493d2a325fad804c571ffc6777582 Parse c++ files too. --- 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);