]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/proofChecker/proofChecker.ml
generate HTML templates using XSLT starting from a bunch of .src files
[helm.git] / helm / proofChecker / proofChecker.ml
index a04e782e1fb63102b86bf6f9f32e201690382cad..7659e57dd2a6553128909b21689ad59082547d7e 100644 (file)
@@ -107,7 +107,8 @@ let callback (req : Http_types.request) outchan' =
           fprintf outchan' "%s" (html_preamble uri);
           flush outchan';
           (try
-            ignore (CicTypeChecker.typecheck (UriManager.uri_of_string uri));
+            ignore (CicTypeChecker.typecheck (UriManager.uri_of_string uri)
+              CicUniv.empty_ugraph);
            with e ->
             fprintf outchan' "%s\n" (Printexc.to_string e);
             flush outchan');
@@ -127,5 +128,7 @@ in
 
 printf "Proof Checker started and listening on port %d\n" port;
 flush stdout;
+CicEnvironment.set_trust (fun _ -> false);
 Http_daemon.start' ~port ~mode:`Fork callback ;
 printf "Proof Checker is terminating, bye!\n"
+