Release of coccinelle 1.0.0-rc9
[bpt/coccinelle.git] / flag_cocci.ml
CommitLineData
f537ebc4
C
1(*
2 * Copyright 2010, INRIA, University of Copenhagen
3 * Julia Lawall, Rene Rydhof Hansen, Gilles Muller, Nicolas Palix
4 * Copyright 2005-2009, Ecole des Mines de Nantes, University of Copenhagen
5 * Yoann Padioleau, Julia Lawall, Rene Rydhof Hansen, Henrik Stuart, Gilles Muller, Nicolas Palix
6 * This file is part of Coccinelle.
7 *
8 * Coccinelle is free software: you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation, according to version 2 of the License.
11 *
12 * Coccinelle is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with Coccinelle. If not, see <http://www.gnu.org/licenses/>.
19 *
20 * The authors reserve the right to distribute this or future versions of
21 * Coccinelle under other licenses.
22 *)
23
24
34e49164
C
25(* the inputs *)
26let show_c = ref false
27let show_cocci = ref false
28
29(* the output *)
30let show_diff = ref true
97111a47 31let force_diff = ref false (*show diff even if thhere are only space changes*)
34e49164
C
32
33(* the derived inputs *)
34let show_flow = ref false
35let show_before_fixed_flow = ref false
36
faf9a90c
C
37let show_ctl_tex = ref false
38let show_ctl_text = ref false
34e49164
C
39
40let inline_let_ctl = ref false
41let show_mcodekind_in_ctl = ref false
42
43(* the "underived" outputs *)
34e49164 44let show_binding_in_out = ref false
faf9a90c 45let show_dependencies = ref false
34e49164 46
708f4980
C
47let verbose_cocci = ref true
48
34e49164
C
49let windows = ref false
50
51let popl = ref false
52
708f4980 53let ifdef_to_if = ref true(*false*)
485bce71 54
faf9a90c 55type include_options =
1eddfd50
C
56 I_UNSPECIFIED | I_NO_INCLUDES | I_NORMAL_INCLUDES
57 | I_ALL_INCLUDES | I_REALLY_ALL_INCLUDES
faf9a90c
C
58let include_options = ref I_UNSPECIFIED
59
c3e37e97 60let include_path = ref ([] : string list)
34e49164
C
61(* if true then when have a #include "../../xx.h", we look also for xx.h in
62 * current directory. This is because of how works extract_c_and_res
63 *)
64
ae4735db 65let relax_include_path = ref false
34e49164
C
66
67let timeout = ref (None : int option)
68
69let worth_trying_opt = ref true
993936c0
C
70
71let use_saved_typedefs = ref true (* hack! *)