]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/lambda-delta/automath/autProcess.ml
some renaming. final commit for version 0.8.0
[helm.git] / helm / software / lambda-delta / automath / autProcess.ml
index 56ecd4ca47a8cb1ef874245c81a24868c63e6f06..0009e021eea3996b1d7843461aea5f2fea2de459 100644 (file)
@@ -57,12 +57,12 @@ let proc_global f st =
    in
    exp_count f st
 
-let proc_unit f st unit = match unit with
-   | A.Section section -> proc_section f st section unit
-   | A.Context _       -> proc_context f st unit  
-   | A.Block _         -> proc_block f st unit
-   | A.Decl _          -> proc_global f st unit
-   | A.Def _           -> proc_global f st unit
+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_unit = proc_unit
+let process_entity = proc_entity
 
 let get_counters f st = f st.iao st.iar st.iac st.iag