]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/interface/annotationParser2.ml
Initial revision
[helm.git] / helm / interface / annotationParser2.ml
index 5e5042efa5398c21ddf9f08c6a16bcd1c40ccaf0..58edc4ca88771cab97a5dc49c349f98474c2cbdc 100644 (file)
@@ -1,3 +1,28 @@
+(* Copyright (C) 2000, HELM Team.
+ * 
+ * This file is part of HELM, an Hypertextual, Electronic
+ * Library of Mathematics, developed at the Computer Science
+ * Department, University of Bologna, Italy.
+ * 
+ * HELM is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ * 
+ * HELM is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with HELM; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston,
+ * MA  02111-1307, USA.
+ * 
+ * For details, see the HELM World-Wide-Web page,
+ * http://cs.unibo.it/helm/.
+ *)
+
 exception IllFormedXml of int;;
 
 (* Utility functions that transform a Pxp attribute into something useful *)
@@ -45,7 +70,7 @@ let annotate_object ann obj =
    match obj with
       C.ADefinition (_, rann, _, _, _, _) -> rann
     | C.AAxiom (_, rann, _, _, _) -> rann
-    | C.AVariable (_, rann, _, _) -> rann
+    | C.AVariable (_, rann, _, _, _) -> rann
     | C.ACurrentProof (_, rann, _, _, _, _) -> rann
     | C.AInductiveDefinition (_, rann, _, _, _) -> rann
   in
@@ -64,6 +89,7 @@ let annotate_term ann term =
     | C.ACast (_, rann, _, _) -> rann
     | C.AProd (_, rann, _, _, _) -> rann
     | C.ALambda (_, rann, _, _, _) -> rann
+    | C.ALetIn (_, rann, _, _, _) -> rann
     | C.AAppl (_, rann, _) -> rann
     | C.AConst (_, rann, _, _) -> rann
     | C.AAbst (_, rann, _) -> rann