Mls printing order fix ( const at top of program )

This commit is contained in:
Léonard Gérard 2010-08-17 23:26:47 +02:00
parent 64251c6298
commit 74faffa423

View file

@ -221,7 +221,7 @@ let print oc { p_opened = pm; p_types = pt; p_nodes = pn; p_consts = pc } =
let ff = formatter_of_out_channel oc
in (
List.iter (print_open_module ff) pm;
List.iter (print_type_dec ff) pt;
List.iter (print_const_dec ff) pc;
List.iter (print_type_dec ff) pt;
List.iter (print_node ff) pn;
fprintf ff "@?" )