Project

General

Profile

Download (1020 Bytes) Statistics
| Branch: | Tag: | Revision:
1
(********************************************************************)
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

    
12
let report
13
    ?plugin:(modulename="")
14
    ?(verbose_level=Options.verbose_level)
15
    ~level:level p =
16
if !verbose_level >= level then
17
  if modulename="" then
18
    Format.eprintf "%t" p
19
  else
20
    Format.eprintf "[%s] @[%t@]" modulename p
21

    
22
(* Local Variables: *)
23
(* compile-command:"make -C .." *)
24
(* End: *)
25

    
(25-25/64)