Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
X
XPath Parser
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Sylvain Schmitz
XPath Parser
Commits
53bd1933
Commit
53bd1933
authored
Jun 27, 2018
by
Sylvain Schmitz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
export total numbers
parent
fb898438
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
tools/extensions/countfuns.pl
tools/extensions/countfuns.pl
+4
-0
No files found.
tools/extensions/countfuns.pl
View file @
53bd1933
...
...
@@ -275,6 +275,8 @@ open STD,">","countfuns_${suffix}_std.dat"
or
die
"
Cannot open countfuns_
${suffix}
_std.dat!
\n
";
open
NONSTD
,"
>
","
countfuns_
${suffix}
_nonstd.dat
"
or
die
"
Cannot open countfuns_
${suffix}
_nonstd.dat!
\n
";
open
TOTAL
,"
>
","
countfuns_
${suffix}
_total.tex
"
or
die
"
Cannot open countfuns_
${suffix}
_total.tex!
\n
";
$n
=
0
;
# rank of current function (decr. order)
$sofar
=
0
;
# total nb of occ. so far
$sofar_std
=
0
;
# total nb of occ. of std funs so far
...
...
@@ -304,3 +306,5 @@ for $fname (sort { $table{$b} <=> $table{$a} } keys %table) {
print
NONSTD
"
$n
$table
{
$fname
}
\n
";
}
}
$locale_nbfuns
=
reverse
join
'
,
',
unpack
'
(A3)*
',
reverse
$nbfuns
;
print
TOTAL
("
$locale_nbfuns
");
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment