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.
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.
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.
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/>.
20 * The authors reserve the right to distribute this or future versions of
21 * Coccinelle under other licenses.
26 let show_c = ref false
27 let show_cocci = ref false
30 let show_diff = ref true
32 (* the derived inputs *)
33 let show_flow = ref false
34 let show_before_fixed_flow = ref false
36 let show_ctl_tex = ref false
37 let show_ctl_text = ref false
39 let inline_let_ctl = ref false
40 let show_mcodekind_in_ctl = ref false
42 (* the "underived" outputs *)
43 let show_binding_in_out = ref false
44 let show_dependencies = ref false
46 let verbose_cocci = ref true
48 let windows = ref false
52 let ifdef_to_if = ref true(*false*)
54 type include_options
=
55 I_UNSPECIFIED
| I_NO_INCLUDES
| I_NORMAL_INCLUDES
| I_ALL_INCLUDES
56 let include_options = ref I_UNSPECIFIED
58 let include_path = ref ([] : string list
)
59 (* if true then when have a #include "../../xx.h", we look also for xx.h in
60 * current directory. This is because of how works extract_c_and_res
63 let relax_include_path = ref false
65 let timeout = ref (None
: int option)
67 let worth_trying_opt = ref true