2 * Copyright 2005-2009, 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.
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.
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.
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/>.
18 * The authors reserve the right to distribute this or future versions of
19 * Coccinelle under other licenses.
24 let show_c = ref false
25 let show_cocci = ref false
28 let show_diff = ref true
30 (* the derived inputs *)
31 let show_flow = ref false
32 let show_before_fixed_flow = ref false
34 let show_ctl_tex = ref false
35 let show_ctl_text = ref false
37 let inline_let_ctl = ref false
38 let show_mcodekind_in_ctl = ref false
40 (* the "underived" outputs *)
41 let show_binding_in_out = ref false
42 let show_dependencies = ref false
44 let verbose_cocci = ref true
46 let windows = ref false
50 let ifdef_to_if = ref true(*false*)
52 type include_options
=
53 I_UNSPECIFIED
| I_NO_INCLUDES
| I_NORMAL_INCLUDES
| I_ALL_INCLUDES
54 let include_options = ref I_UNSPECIFIED
56 let include_path = ref (None
: string option)
57 (* if true then when have a #include "../../xx.h", we look also for xx.h in
58 * current directory. This is because of how works extract_c_and_res
61 let relax_include_path = ref false
63 let timeout = ref (None
: int option)
65 let worth_trying_opt = ref true