]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/lambda-delta/automath/autProcess.ml
- we implemented the hierarchy and sort names declaration in text parser
[helm.git] / helm / software / lambda-delta / automath / autProcess.ml
index 0009e021eea3996b1d7843461aea5f2fea2de459..b9751b2f53cf783cdb6d8edd4bf9c3b4058207a3 100644 (file)
@@ -57,12 +57,12 @@ let proc_global f st =
    in
    exp_count f st
 
-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
+let proc_command f st command = match command with
+   | A.Section section -> proc_section f st section command
+   | A.Context _       -> proc_context f st command  
+   | A.Block _         -> proc_block f st command
+   | A.Decl _          -> proc_global f st command
+   | A.Def _           -> proc_global f st command
    
 (* interface functions ******************************************************)
 
@@ -72,6 +72,6 @@ let initial_status = {
    iao = 0; iar = 0; iac = 0; iag = 0
 }
 
-let process_entity = proc_entity
+let process_command = proc_command
 
 let get_counters f st = f st.iao st.iar st.iac st.iag