projects
/
tatoo.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ajout d'un compteur pour compter le nombre de noeuds évalués
[tatoo.git]
/
src
/
table_driver.ml
diff --git
a/src/table_driver.ml
b/src/table_driver.ml
index
1f04028
..
d75c5df
100644
(file)
--- a/
src/table_driver.ml
+++ b/
src/table_driver.ml
@@
-32,7
+32,11
@@
let main () =
print_node_list doc res;
print_string "</xml_result>\n"
) query_tree_list ;
print_node_list doc res;
print_string "</xml_result>\n"
) query_tree_list ;
-
+
+ let _ = if !Table_options.count then
+ Format.fprintf Format.std_formatter "there are %i nodes\n" !Query_tree.compteur;
+ in
+
(* let output =
match !Options.output_file with
| None | Some "-" | Some "/dev/stdout" -> stdout
(* let output =
match !Options.output_file with
| None | Some "-" | Some "/dev/stdout" -> stdout