projects
/
SXSI
/
xpathcomp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add -doc-stats options to print document statistics.
[SXSI/xpathcomp.git]
/
src
/
main.ml
diff --git
a/src/main.ml
b/src/main.ml
index
48f2e46
..
8e0e130
100644
(file)
--- a/
src/main.ml
+++ b/
src/main.ml
@@
-33,6
+33,7
@@
let mk_runtime run auto doc arg count print outfile =
let main v query_string output =
Tag.init (Tree.tag_operations v);
+ if !Options.docstats then Tree.stats v;
let query =
time ~msg:"Parsing query" XPath.parse query_string
in