X-Git-Url: http://git.nguyen.vg/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fmain.ml;fp=src%2Fmain.ml;h=2534d01e9a897f9d06bd6d25749a6c1510c9d42e;hb=adbae5267917033dec93e753bbc81272d16ab218;hp=0fbebad07ab8260f707be6a40ff1de8b59b60e46;hpb=8f5b2f0c7e95245c1b7f4cc18aa137ba8e784166;p=SXSI%2Fxpathcomp.git diff --git a/src/main.ml b/src/main.ml index 0fbebad..2534d01 100644 --- a/src/main.ml +++ b/src/main.ml @@ -55,7 +55,7 @@ let main v query_string output = if !Options.count_only then let module R = ResJIT.Count in let module M = Runtime.Make(R) in - mk_runtime M.bottom_up_run auto v (query, pattern) R.NS.length R.NS.serialize None + mk_runtime M.bottom_up_run auto v (query, pattern) R.NS.length R.NS.serialize !Options.output_file else let module R = ResJIT.Mat in let module M = Runtime.Make(R) in @@ -72,7 +72,7 @@ let main v query_string output = if !Options.twopass then mk_runtime M.twopass_top_down_run auto v Tree.root R.NS.length R.NS.serialize None else - mk_runtime M.top_down_run auto v Tree.root R.NS.length R.NS.serialize None + mk_runtime M.top_down_run auto v Tree.root R.NS.length R.NS.serialize !Options.output_file else let module R = ResJIT.Mat in let module M = Runtime.Make(R) in