Release coccinelle-0.1
[bpt/coccinelle.git] / flag_cocci.ml
CommitLineData
34e49164
C
1(*
2* Copyright 2005-2008, Ecole des Mines de Nantes, University of Copenhagen
3* Yoann Padioleau, Julia Lawall, Rene Rydhof Hansen, Henrik Stuart, Gilles Muller
4* This file is part of Coccinelle.
5*
6* Coccinelle is free software: you can redistribute it and/or modify
7* it under the terms of the GNU General Public License as published by
8* the Free Software Foundation, according to version 2 of the License.
9*
10* Coccinelle is distributed in the hope that it will be useful,
11* but WITHOUT ANY WARRANTY; without even the implied warranty of
12* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13* GNU General Public License for more details.
14*
15* You should have received a copy of the GNU General Public License
16* along with Coccinelle. If not, see <http://www.gnu.org/licenses/>.
17*
18* The authors reserve the right to distribute this or future versions of
19* Coccinelle under other licenses.
20*)
21
22
23(* the inputs *)
24let show_c = ref false
25let show_cocci = ref false
26
27(* the output *)
28let show_diff = ref true
29
30(* the derived inputs *)
31let show_flow = ref false
32let show_before_fixed_flow = ref false
33
34let show_ctl_tex = ref false
35let show_ctl_text = ref true
36
37let inline_let_ctl = ref false
38let show_mcodekind_in_ctl = ref false
39
40(* the "underived" outputs *)
41let show_transinfo = ref true
42let show_binding_in_out = ref false
43
44let windows = ref false
45
46let popl = ref false
47
48let all_includes = ref false
49let include_path = ref "include"
50(* if true then when have a #include "../../xx.h", we look also for xx.h in
51 * current directory. This is because of how works extract_c_and_res
52 *)
53
54let no_includes = ref false (* no includes at all, not even the local ones *)
55
56let relax_include_path = ref false
57
58let timeout = ref (None : int option)
59
60let worth_trying_opt = ref true