X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;ds=sidebyside;f=helm%2Fsoftware%2Fcomponents%2Fgrafite%2FgrafiteMarshal.ml;h=481a1b21dcacaed45448da576d50378433d5d616;hb=1652681b5eb49332f1c78e6c26d3ae5c7253d382;hp=836f592b01a40c1e7684ca764a3173d602ead248;hpb=ca41435a6021292ccba239aa173651c0be705b45;p=helm.git diff --git a/helm/software/components/grafite/grafiteMarshal.ml b/helm/software/components/grafite/grafiteMarshal.ml index 836f592b0..481a1b21d 100644 --- a/helm/software/components/grafite/grafiteMarshal.ml +++ b/helm/software/components/grafite/grafiteMarshal.ml @@ -44,10 +44,14 @@ let rehash_cmd_uris = | GrafiteAst.Default (loc, name, uris) -> let uris = List.map rehash_uri uris in GrafiteAst.Default (loc, name, uris) + | GrafiteAst.PreferCoercion (loc, uri) -> + GrafiteAst.PreferCoercion (loc, CicUtil.rehash_term uri) | GrafiteAst.Coercion (loc, uri, close, arity, saturations) -> GrafiteAst.Coercion (loc, CicUtil.rehash_term uri, close, arity, saturations) | GrafiteAst.Index (loc, key, uri) -> GrafiteAst.Index (loc, HExtlib.map_option CicUtil.rehash_term key, rehash_uri uri) + | GrafiteAst.Select (loc, uri) -> + GrafiteAst.Select (loc, rehash_uri uri) | cmd -> prerr_endline "Found a command not expected in a .moo:"; let term_pp _ = assert false in