]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/lambda-delta/automath/autProcess.ml
Added initial support for inversion principles in Matita NG.
[helm.git] / helm / software / lambda-delta / automath / autProcess.ml
index 87fe418650e6779603def9db0e1dd72c32d94ca4..0009e021eea3996b1d7843461aea5f2fea2de459 100644 (file)
@@ -57,12 +57,12 @@ let proc_global f st =
    in
    exp_count f st
 
-let proc_item f st item = match item with
-   | A.Section section -> proc_section f st section item
-   | A.Context _       -> proc_context f st item  
-   | A.Block _         -> proc_block f st item
-   | A.Decl _          -> proc_global f st item
-   | A.Def _           -> proc_global f st item
+let proc_entity f st entity = match entity with
+   | A.Section section -> proc_section f st section entity
+   | A.Context _       -> proc_context f st entity  
+   | A.Block _         -> proc_block f st entity
+   | A.Decl _          -> proc_global f st entity
+   | A.Def _           -> proc_global f st entity
    
 (* interface functions ******************************************************)
 
@@ -72,6 +72,6 @@ let initial_status = {
    iao = 0; iar = 0; iac = 0; iag = 0
 }
 
-let process_item = proc_item
+let process_entity = proc_entity
 
 let get_counters f st = f st.iao st.iar st.iac st.iag