Project

General

Profile

Download (1.11 KB) Statistics
| Branch: | Tag: | Revision:
1 a2d97a3e ploc
(********************************************************************)
2
(*                                                                  *)
3
(*  The LustreC compiler toolset   /  The LustreC Development Team  *)
4
(*  Copyright 2012 -    --   ONERA - CNRS - INPT                    *)
5
(*                                                                  *)
6
(*  LustreC is free software, distributed WITHOUT ANY WARRANTY      *)
7
(*  under the terms of the GNU Lesser General Public License        *)
8
(*  version 2.1.                                                    *)
9
(*                                                                  *)
10
(********************************************************************)
11 22fe1c93 ploc
12 61df3cb9 ploc
let report ?(plugins="") ?(verbose_level=Options.verbose_level) ~level:level p =
13
  let plugins = if plugins = "" then plugins else plugins ^ " " in 
14
  if !verbose_level >= level then
15 690196d8 xthirioux
  begin
16 61df3cb9 ploc
    Format.eprintf "%s%t" plugins p;
17 521e2a6b ploc
  (* Removed the flush since it was breaking most open/close boxes *)
18
  (* Format.pp_print_flush Format.err_formatter () *)
19 690196d8 xthirioux
  end
20 22fe1c93 ploc
21
(* Local Variables: *)
22
(* compile-command:"make -C .." *)
23
(* End: *)