]> matita.cs.unibo.it Git - helm.git/blobdiff - components/grafite/grafiteAst.ml
matitaGui: some missing cases during disambiguation now treated
[helm.git] / components / grafite / grafiteAst.ml
index e75e53867aa88306d06dedfe5ee1fff9f2b9efe8..10d7b6bccad33d454a73385686ea9c085e1944fe 100644 (file)
@@ -77,7 +77,6 @@ type ('term, 'lazy_term, 'reduction, 'ident) tactic =
   | LetIn of loc * 'term * 'ident
   | Reduce of loc * 'reduction * ('term, 'lazy_term, 'ident) pattern 
   | Reflexivity of loc
-  | Rename of loc * 'ident list * 'ident list
   | Replace of loc * ('term, 'lazy_term, 'ident) pattern * 'lazy_term
   | Rewrite of loc * direction * 'term *
       ('term, 'lazy_term, 'ident) pattern * 'ident list
@@ -109,8 +108,8 @@ type search_kind = [ `Locate | `Hint | `Match | `Elim ]
 
 type print_kind = [ `Env | `Coer ]
 
-type style = Declarative
-           | Procedural
+type presentation_style = Declarative
+                        | Procedural of int option
 
 type 'term macro = 
   (* Whelp's stuff *)
@@ -122,7 +121,8 @@ type 'term macro =
   (* real macros *)
   | Check of loc * 'term 
   | Hint of loc
-  | Inline of loc * style * string * string (* URI or base-uri, name prefix *) 
+  | Inline of loc * presentation_style * string * string 
+     (* URI or base-uri, name prefix *) 
 
 (** To be increased each time the command type below changes, used for "safe"
  * marshalling *)