]> matita.cs.unibo.it Git - helm.git/blobdiff - matita/components/grafite/grafiteMarshal.ml
Cic.term and Cic.obj unused!
[helm.git] / matita / components / grafite / grafiteMarshal.ml
index 15e4f5217cf054dc0e93995d71fc009a66546ecd..327f398093a99ca50a2b94cb33e0df6ef629fc80 100644 (file)
@@ -25,7 +25,7 @@
 
 (* $Id$ *)
 
-type ast_command = (Cic.term,Cic.obj) GrafiteAst.command
+type ast_command = GrafiteAst.command
 type moo = ast_command list
 
 let format_name = "grafite"
@@ -41,15 +41,12 @@ let rehash_cmd_uris =
   let rehash_uri uri =
     UriManager.uri_of_string (UriManager.string_of_uri uri) in
   function
-  | GrafiteAst.Default (loc, name, uris) ->
-      let uris = List.map rehash_uri uris in
-      GrafiteAst.Default (loc, name, uris)
   | GrafiteAst.Include _ as cmd -> cmd
   | cmd ->
       prerr_endline "Found a command not expected in a .moo:";
       let term_pp _ = assert false in
       let obj_pp _ = assert false in
-      prerr_endline (GrafiteAstPp.pp_command ~term_pp ~obj_pp cmd);
+      prerr_endline (GrafiteAstPp.pp_command cmd);
       assert false
 
 let save_moo ~fname moo = save_moo_to_file ~fname (List.rev moo)