comparison mode.h @ 4:ee9a66b87c70

Initial version of toplevel and options handling.
author David A. Holland
date Sun, 19 Dec 2010 17:52:59 -0500
parents
children 40748b097655
comparison
equal deleted inserted replaced
3:bfa97d43197e 4:ee9a66b87c70
1 struct mode {
2 bool werror;
3 bool input_allow_dollars;
4 unsigned input_tabstop;
5 bool do_stdinc;
6 bool do_stddef;
7 bool do_output;
8 bool output_linenumbers;
9 bool output_retain_comments;
10 const char *output_file;
11 bool do_depend;
12 bool depend_report_system;
13 bool depend_assume_generated;
14 bool depend_issue_fakerules;
15 bool depend_quote_target;
16 const char *depend_target;
17 const char *depend_file;
18 bool do_macrolist;
19 bool macrolist_include_stddef;
20 bool macrolist_include_expansions;
21 bool do_trace;
22 bool trace_namesonly;
23 bool trace_indented;
24 };
25
26 struct warns {
27 bool endiflabels;
28 bool nestcomment;
29 bool undef;
30 bool unused;
31 };
32
33 extern struct mode mode;
34 extern struct warns warns;