]> matita.cs.unibo.it Git - helm.git/blobdiff - matita/components/grafite_parser/print_grammar.ml
Most warnings turned into errors and avoided
[helm.git] / matita / components / grafite_parser / print_grammar.ml
index 738ceb4dabbac9349a75a8195996d079dd7246b6..9fea12e40fbd9ceda710866d0862757f3df1e396 100644 (file)
@@ -105,7 +105,7 @@ let needs_brackets t =
   count_brothers t > 1
 
 let visit_description desc fmt self = 
-  let skip s = true in
+  let skip _s = true in
   let inline s = List.mem s [ "int" ] in
   
   let rec visit_entry e ?level todo is_son  =
@@ -140,7 +140,7 @@ let visit_description desc fmt self =
             (fun x -> Sself :: x) (flatten_tree suff) @ flatten_tree pref)
           todo is_son  
     
-  and visit_tree name t todo is_son  = 
+  and visit_tree name t todo _is_son  = 
     if List.for_all (List.for_all is_symbol_dummy) t then todo else (
     Format.fprintf fmt "@[<v>";
     (match name with