]> matita.cs.unibo.it Git - helm.git/blobdiff - matitaB/components/content/notationPt.ml
Matitaweb:
[helm.git] / matitaB / components / content / notationPt.ml
index b624c9a8639c6e46a9ba2fef120cbdb6af3d11c8..4804208f0657e6a8c54397ac1e7e0591355159da 100644 (file)
@@ -62,7 +62,7 @@ type 'term capture_variable = 'term * 'term option
 
 (** To be increased each time the term type below changes, used for "safe"
  * marshalling *)
-let magic = 7
+let magic = 8
 
 type term =
   (* CIC AST *)
@@ -101,8 +101,9 @@ type term =
   | NCic of NCic.term
 
   (* Syntax pattern extensions *)
-
-  | Literal of literal
+  (* string option = optional name of an Ast.Symbol occurring in the level 2
+   * term, which is associated to this literal *)
+  | Literal of (string option * literal)
   | Layout of layout_pattern
 
   | Magic of magic_term