From: Andrea Asperti Date: Fri, 22 Dec 2006 10:53:52 +0000 (+0000) Subject: Add_moo_content modified to avoid repetitions of index command during inclusion. X-Git-Tag: make_still_working~6567 X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=commitdiff_plain;h=e8c83a8daa1beeacfc6d08fedd2112bc38c1b251;p=helm.git Add_moo_content modified to avoid repetitions of index command during inclusion. --- diff --git a/helm/software/components/grafite_engine/grafiteTypes.ml b/helm/software/components/grafite_engine/grafiteTypes.ml index 6e1c299e4..80efca87a 100644 --- a/helm/software/components/grafite_engine/grafiteTypes.ml +++ b/helm/software/components/grafite_engine/grafiteTypes.ml @@ -124,7 +124,8 @@ let add_moo_content cmds status = (fun cmd acc -> (* prerr_endline ("adding to moo command: " ^ GrafiteAstPp.pp_command cmd); *) match cmd with - | GrafiteAst.Default _ -> + | GrafiteAst.Default _ + | GrafiteAst.Index _ -> if List.mem cmd content then acc else cmd :: acc | _ -> cmd :: acc)