]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/matita/matitacLib.ml
Added parameter first_statement_only to the functions in matitaEngine
[helm.git] / helm / matita / matitacLib.ml
index e769fd7d63bf7d19958006aad47b41ec1a99bb9b..7150c6f775cb57fecf8340070db8d3c659c8d424 100644 (file)
@@ -112,7 +112,7 @@ let rec interactive_loop () =
   let str = Ulexing.from_utf8_channel stdin in
   try
     run_script str 
-      (MatitaEngine.eval_from_stream ~prompt:true
+      (MatitaEngine.eval_from_stream ~first_statement_only:false ~prompt:true
       ~include_paths:(Helm_registry.get_list Helm_registry.string
         "matita.includes"))
   with 
@@ -180,7 +180,7 @@ let main ~mode =
      Helm_registry.get_list Helm_registry.string "matita.includes" in
     (try
       run_script is 
-       (MatitaEngine.eval_from_stream ~include_paths
+       (MatitaEngine.eval_from_stream ~first_statement_only:false ~include_paths
          ~clean_baseuri:(not (Helm_registry.get_bool "matita.preserve")))
      with End_of_file -> ());
     let elapsed = Unix.time () -. time in