]> 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 d6dfa53a65dc88e1a4b744e9ef0147539ee01f05..10d7b6bccad33d454a73385686ea9c085e1944fe 100644 (file)
@@ -79,7 +79,7 @@ type ('term, 'lazy_term, 'reduction, 'ident) tactic =
   | Reflexivity of loc
   | Replace of loc * ('term, 'lazy_term, 'ident) pattern * 'lazy_term
   | Rewrite of loc * direction * 'term *
-      ('term, 'lazy_term, 'ident) pattern
+      ('term, 'lazy_term, 'ident) pattern * 'ident list
   | Right of loc
   | Ring of loc
   | Split of loc
@@ -108,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 *)
@@ -121,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 *)