Release coccinelle-0.1.2
[bpt/coccinelle.git] / flag_cocci.ml
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 *)
24 let show_c = ref false
25 let show_cocci = ref false
26
27 (* the output *)
28 let show_diff = ref true
29
30 (* the derived inputs *)
31 let show_flow = ref false
32 let show_before_fixed_flow = ref false
33
34 let show_ctl_tex = ref false
35 let show_ctl_text = ref true
36
37 let inline_let_ctl = ref false
38 let show_mcodekind_in_ctl = ref false
39
40 (* the "underived" outputs *)
41 let show_transinfo = ref true
42 let show_binding_in_out = ref false
43 let show_dependencies = ref false
44
45 let windows = ref false
46
47 let popl = ref false
48
49 let ifdef_to_if = ref false
50
51 let all_includes = ref false
52 let include_path = ref "include"
53 (* if true then when have a #include "../../xx.h", we look also for xx.h in
54 * current directory. This is because of how works extract_c_and_res
55 *)
56
57 let no_includes = ref false (* no includes at all, not even the local ones *)
58
59 let relax_include_path = ref false
60
61 let timeout = ref (None : int option)
62
63 let worth_trying_opt = ref true