]> matita.cs.unibo.it Git - helm.git/blobdiff - components/grafite/grafiteMarshal.ml
Added a new command "index" for the indexing terms in the "universe".
[helm.git] / components / grafite / grafiteMarshal.ml
index cc4423b96e83a3171a0861e7a2d389f77a99b208..056b1225d1c2c14cf3de6343fab6472f7598f875 100644 (file)
@@ -46,6 +46,8 @@ let rehash_cmd_uris =
       GrafiteAst.Default (loc, name, uris)
   | GrafiteAst.Coercion (loc, uri, close, arity) ->
       GrafiteAst.Coercion (loc, rehash_uri uri, close, arity)
+  | GrafiteAst.Index (loc, key, uri) ->
+      GrafiteAst.Index (loc, HExtlib.map_option CicUtil.rehash_term key, rehash_uri uri)
   | cmd ->
       prerr_endline "Found a command not expected in a .moo:";
       let term_pp _ = assert false in