Project

General

Profile

Download (1009 Bytes) 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 ca7ff3f7 LĂ©lio Brun
let report ?plugin:(modulename = "") ?(verbose_level = Options.verbose_level)
13
    ~level p =
14
  if !verbose_level >= level then
15
    if modulename = "" then Format.eprintf "%t" p
16
    else Format.eprintf "[%s] @[%t@]" modulename p
17 22fe1c93 ploc
18
(* Local Variables: *)
19
(* compile-command:"make -C .." *)
20
(* End: *)