X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;ds=sidebyside;f=matita%2Fcomponents%2Fgrafite_parser%2Fprint_grammar.ml;h=9fea12e40fbd9ceda710866d0862757f3df1e396;hb=f31020f1ae14e28c246b6cd9cf91b5864f4f536a;hp=738ceb4dabbac9349a75a8195996d079dd7246b6;hpb=17308cc43b38728bc79b4db57314e54049c6f03b;p=helm.git diff --git a/matita/components/grafite_parser/print_grammar.ml b/matita/components/grafite_parser/print_grammar.ml index 738ceb4da..9fea12e40 100644 --- a/matita/components/grafite_parser/print_grammar.ml +++ b/matita/components/grafite_parser/print_grammar.ml @@ -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 "@["; (match name with