X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fcomponents%2Fgrafite%2FgrafiteMarshal.ml;h=d666f62b61837163fe53dc9905fdc0d2f2df1020;hb=4dc87cc7384ba61136bc82a23effe6a52160e720;hp=7731902b4adbf73b4c02566deafa9c6693e8c9c2;hpb=5da42f6120f3075c3da8ab3082ead39ea57955fa;p=helm.git diff --git a/helm/software/components/grafite/grafiteMarshal.ml b/helm/software/components/grafite/grafiteMarshal.ml index 7731902b4..d666f62b6 100644 --- a/helm/software/components/grafite/grafiteMarshal.ml +++ b/helm/software/components/grafite/grafiteMarshal.ml @@ -44,10 +44,15 @@ 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, rehash_uri 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) + | GrafiteAst.Include _ as cmd -> cmd | cmd -> prerr_endline "Found a command not expected in a .moo:"; let term_pp _ = assert false in