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 |
c3b0a8c9
|
ploc
|
let report ?plugin:(modulename="") ?(verbose_level=Options.verbose_level) ~level:level p =
|
13 |
|
|
if !verbose_level >= level then
|
14 |
690196d8
|
xthirioux
|
begin
|
15 |
7c8a7647
|
ploc
|
if modulename="" then
|
16 |
|
|
Format.eprintf "%t" p
|
17 |
|
|
else
|
18 |
|
|
Format.eprintf "[%s] @[%t@]" modulename p
|
19 |
690196d8
|
xthirioux
|
end
|
20 |
22fe1c93
|
ploc
|
|
21 |
|
|
(* Local Variables: *)
|
22 |
|
|
(* compile-command:"make -C .." *)
|
23 |
|
|
(* End: *)
|