X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fcomponents%2Fgrafite%2FgrafiteAst.ml;h=560e680b46718f9794cb34a3ce4f971c0f97b098;hb=e7759b1c1f40380748ac052bce5b677bc8fd71cb;hp=5cc66743d7bdffa4ab8de2de7b8b3465ea3c169c;hpb=3b8d99d5fdb79a5d979a8e200a4a4307fe362009;p=helm.git diff --git a/helm/software/components/grafite/grafiteAst.ml b/helm/software/components/grafite/grafiteAst.ml index 5cc66743d..560e680b4 100644 --- a/helm/software/components/grafite/grafiteAst.ml +++ b/helm/software/components/grafite/grafiteAst.ml @@ -132,7 +132,7 @@ type print_kind = [ `Env | `Coer ] type presentation_style = Declarative | Procedural of int option -type 'term macro = +type ('term,'lazy_term) macro = (* Whelp's stuff *) | WHint of loc * 'term | WMatch of loc * 'term @@ -140,11 +140,12 @@ type 'term macro = | WLocate of loc * string | WElim of loc * 'term (* real macros *) + | Eval of loc * 'lazy_term reduction * 'term | Check of loc * 'term | Hint of loc * bool | AutoInteractive of loc * 'term auto_params - | Inline of loc * presentation_style * string * string - (* URI or base-uri, name prefix *) + | Inline of loc * presentation_style * string * string * Cic.object_flavour option + (* URI or base-uri, name prefix, flavour *) (** To be increased each time the command type below changes, used for "safe" * marshalling *) @@ -180,7 +181,7 @@ type ('term,'lazy_term,'reduction,'ident) non_punctuation_tactical = type ('term, 'lazy_term, 'reduction, 'obj, 'ident) code = | Command of loc * ('term, 'obj) command - | Macro of loc * 'term macro + | Macro of loc * ('term,'lazy_term) macro | Tactic of loc * ('term, 'lazy_term, 'reduction, 'ident) tactic option * ('term, 'lazy_term, 'reduction, 'ident) punctuation_tactical | NonPunctuationTactical of loc