A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix generated documentation.
[simgrid.git]
/
tools
/
doxygen
/
xbt_log_extract_hierarchy.pl
diff --git
a/tools/doxygen/xbt_log_extract_hierarchy.pl
b/tools/doxygen/xbt_log_extract_hierarchy.pl
index
8d9e70c
..
938d953
100755
(executable)
--- a/
tools/doxygen/xbt_log_extract_hierarchy.pl
+++ b/
tools/doxygen/xbt_log_extract_hierarchy.pl
@@
-1,10
+1,13
@@
-#!
/usr/bin/perl
+#!/usr/bin/perl
use strict;
use warnings;
my $debug = 0;
use strict;
use warnings;
my $debug = 0;
+print "/* Generated file, do not edit */\n";
+print "/** \\addtogroup XBT_log_cats\n";
+print " \@{\n";
# Search for calls to macros defining new channels, and prepare the tree representation
my %ancestor;
# Search for calls to macros defining new channels, and prepare the tree representation
my %ancestor;
@@
-111,7
+114,7
@@
sub parse_file {
}
# Retrieve all the file names, and add their content to $data
my $data;
}
# Retrieve all the file names, and add their content to $data
my $data;
-open FILES, "find -name '*.c'|" || die "Cannot search for the source file names: $!\n";
+open FILES, "find
src/ tools/ include/
-name '*.c'|" || die "Cannot search for the source file names: $!\n";
while (my $file=<FILES>) {
chomp $file;
parse_file($file);
while (my $file=<FILES>) {
chomp $file;
parse_file($file);
@@
-150,3
+153,6
@@
sub check_connection {
}
check_connection("XBT_LOG_ROOT_CAT");
map {warn "Category $_ does not seem to be connected to the root (anc=$ancestor{$_})\n";} grep {!defined $used{$_}} sort keys %ancestor;
}
check_connection("XBT_LOG_ROOT_CAT");
map {warn "Category $_ does not seem to be connected to the root (anc=$ancestor{$_})\n";} grep {!defined $used{$_}} sort keys %ancestor;
+
+
+print "@}*/";
\ No newline at end of file