X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fcomponents%2Fbinaries%2Ftranscript%2Fgrafite.ml;h=d44a17c5897e40df09508101d852b3025a0c060a;hb=b519aa529779c0a4625eb43fa9557862d8cc6617;hp=0037e61456b7d82776ae59f50d0e40579744d271;hpb=d17a38ddca548c784e9efa7c55e87c80203b024d;p=helm.git diff --git a/helm/software/components/binaries/transcript/grafite.ml b/helm/software/components/binaries/transcript/grafite.ml index 0037e6145..d44a17c58 100644 --- a/helm/software/components/binaries/transcript/grafite.ml +++ b/helm/software/components/binaries/transcript/grafite.ml @@ -75,8 +75,8 @@ let command_of_obj obj = let command_of_macro macro = G.Executable (floc, G.Macro (floc, macro)) -let require src value = - command_of_obj (G.Include (floc, src, value ^ ".ma")) +let require moo value = + command_of_obj (G.Include (floc, moo, `OldAndNew, value ^ ".ma")) let coercion value = command_of_obj (G.Coercion (floc, UM.uri_of_string value, true, 0, 0)) @@ -111,7 +111,7 @@ let commit kind och items = | T.Heading heading -> out_preamble och heading | T.Line line -> if !O.comments then out_line_comment och line - | T.Include (src, script) -> out_command och (require src script) + | T.Include (moo, script) -> out_command och (require moo script) | T.Coercion specs -> if !O.comments then out_unexported och "COERCION" (snd specs) | T.Notation specs ->