]> matita.cs.unibo.it Git - helm.git/blobdiff - matita/matitaScript.ml
attributes now in the proof status: commit 1
[helm.git] / matita / matitaScript.ml
index 7a978bbde3bb19fdd2d0b6eb7d1de28fa17b0831..4c35019bca8308c408b8462be9255a2a68cab40d 100644 (file)
@@ -234,7 +234,7 @@ let rec eval_macro include_paths (buffer : GText.buffer) guistuff lexicon_status
      guistuff.mathviewer#show_uri_list ~reuse:true ~entry l;
      [], "", parsed_text_length
   | TA.WHint (loc, term) ->
-     let s = ((None,[0,[],term], Cic.Meta (0,[]) ,term),0) in
+     let s = ((None,[0,[],term], Cic.Meta (0,[]) ,term, []),0) in
      let l = List.map fst (MQ.experimental_hint ~dbd s) in
      let entry = `Whelp (pp_macro mac, l) in
      guistuff.mathviewer#show_uri_list ~reuse:true ~entry l;
@@ -332,7 +332,7 @@ prerr_endline ("Stampo " ^ UriManager.string_of_uri uri);
               (fst (CicEnvironment.get_obj CicUniv.empty_ugraph uri))
             with
             | e (* BRRRRRRRRR *) -> 
-               Printf.sprintf "\nERRORE IN STAMPA DI %s\n%s\n" 
+               Printf.sprintf "\n(* ERRORE IN STAMPA DI %s\nEXCEPTION: %s *)\n" 
                (UriManager.string_of_uri uri) (Printexc.to_string e)
           ) sorted_uris_without_xpointer)
       in