@\n only for format strings

Reviewed By: sblackshear

Differential Revision: D5247099

fbshipit-source-id: 51829d4
master
Mehdi Bouaziz 8 years ago committed by Facebook Github Bot
parent 29d42a5e32
commit f8eb9c2466

@ -556,7 +556,7 @@ let write_html_file linereader filename procs =
~f:(fun err_string -> ~f:(fun err_string ->
F.fprintf fmt "%s" (create_err_message err_string)) F.fprintf fmt "%s" (create_err_message err_string))
errors_at_linenum; errors_at_linenum;
F.fprintf fmt "%s" "</td></tr>@\n" in F.fprintf fmt "</td></tr>@\n" in
pp_prelude (); pp_prelude ();
let global_err_log = Errlog.empty () in let global_err_log = Errlog.empty () in
@ -572,7 +572,7 @@ let write_html_file linereader filename procs =
print_one_line proof_cover table_nodes_at_linenum table_err_per_line !linenum print_one_line proof_cover table_nodes_at_linenum table_err_per_line !linenum
done done
with End_of_file -> with End_of_file ->
(F.fprintf fmt "%s" "</table>@\n"; (F.fprintf fmt "</table>@\n";
Errlog.pp_html filename [fname_encoding] fmt global_err_log; Errlog.pp_html filename [fname_encoding] fmt global_err_log;
Io_infer.Html.close (fd, fmt)) Io_infer.Html.close (fd, fmt))

@ -799,6 +799,6 @@ struct
let pp : F.formatter -> t -> unit let pp : F.formatter -> t -> unit
= fun fmt (entry_mem, exit_mem, condition_set) -> = fun fmt (entry_mem, exit_mem, condition_set) ->
F.fprintf fmt "%a@,%a@,%a@" F.fprintf fmt "%a@,%a@,%a@,"
Mem.pp entry_mem Mem.pp exit_mem ConditionSet.pp condition_set Mem.pp entry_mem Mem.pp exit_mem ConditionSet.pp condition_set
end end

Loading…
Cancel
Save