projects
/
SXSI
/
xpathcomp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove hard-coded acess to SXSI for tag operations.
[SXSI/xpathcomp.git]
/
src
/
main.ml
diff --git
a/src/main.ml
b/src/main.ml
index
cd3d275
..
cb7585f
100644
(file)
--- a/
src/main.ml
+++ b/
src/main.ml
@@
-33,7
+33,7
@@
let mk_runtime run auto doc arg count print outfile =
let main v query_string output =
let main v query_string output =
- Tag.init (Tree.tag_
pool
v);
+ Tag.init (Tree.tag_
operations
v);
let query =
time ~msg:"Parsing query" XPath.parse query_string
in
let query =
time ~msg:"Parsing query" XPath.parse query_string
in
@@
-95,6
+95,7
@@
let document =
let g = time ~msg:"Loading grammar" (Grammar.load !Options.input_file) true in
begin
ignore(g);
let g = time ~msg:"Loading grammar" (Grammar.load !Options.input_file) true in
begin
ignore(g);
+ Unix.sleep 10; (* Leave monitoring process the time to read the HWM *)
exit 0
end
else if Filename.check_suffix !Options.input_file ".srx"
exit 0
end
else if Filename.check_suffix !Options.input_file ".srx"