X-Git-Url: http://git.nguyen.vg/gitweb/?a=blobdiff_plain;f=src%2Fmain.ml;fp=src%2Fmain.ml;h=cb7585fde630437be962feae588e1560c0b0a6b4;hb=6df6ad6cf27e57872bd5891b49354acb0a5ce6a4;hp=cd3d275db15c65f3e40ce4dd19c8160b36447273;hpb=124b3b4e8f440f8c996263127336377c9456e090;p=SXSI%2Fxpathcomp.git diff --git a/src/main.ml b/src/main.ml index cd3d275..cb7585f 100644 --- 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 = - Tag.init (Tree.tag_pool v); + Tag.init (Tree.tag_operations v); 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); + Unix.sleep 10; (* Leave monitoring process the time to read the HWM *) exit 0 end else if Filename.check_suffix !Options.input_file ".srx"