annotate mode.h @ 7:b8167949474a

make places work better
author David A. Holland
date Sun, 19 Dec 2010 19:08:24 -0500
parents ee9a66b87c70
children 40748b097655
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4
ee9a66b87c70 Initial version of toplevel and options handling.
David A. Holland
parents:
diff changeset
1 struct mode {
ee9a66b87c70 Initial version of toplevel and options handling.
David A. Holland
parents:
diff changeset
2 bool werror;
ee9a66b87c70 Initial version of toplevel and options handling.
David A. Holland
parents:
diff changeset
3 bool input_allow_dollars;
ee9a66b87c70 Initial version of toplevel and options handling.
David A. Holland
parents:
diff changeset
4 unsigned input_tabstop;
ee9a66b87c70 Initial version of toplevel and options handling.
David A. Holland
parents:
diff changeset
5 bool do_stdinc;
ee9a66b87c70 Initial version of toplevel and options handling.
David A. Holland
parents:
diff changeset
6 bool do_stddef;
ee9a66b87c70 Initial version of toplevel and options handling.
David A. Holland
parents:
diff changeset
7 bool do_output;
ee9a66b87c70 Initial version of toplevel and options handling.
David A. Holland
parents:
diff changeset
8 bool output_linenumbers;
ee9a66b87c70 Initial version of toplevel and options handling.
David A. Holland
parents:
diff changeset
9 bool output_retain_comments;
ee9a66b87c70 Initial version of toplevel and options handling.
David A. Holland
parents:
diff changeset
10 const char *output_file;
ee9a66b87c70 Initial version of toplevel and options handling.
David A. Holland
parents:
diff changeset
11 bool do_depend;
ee9a66b87c70 Initial version of toplevel and options handling.
David A. Holland
parents:
diff changeset
12 bool depend_report_system;
ee9a66b87c70 Initial version of toplevel and options handling.
David A. Holland
parents:
diff changeset
13 bool depend_assume_generated;
ee9a66b87c70 Initial version of toplevel and options handling.
David A. Holland
parents:
diff changeset
14 bool depend_issue_fakerules;
ee9a66b87c70 Initial version of toplevel and options handling.
David A. Holland
parents:
diff changeset
15 bool depend_quote_target;
ee9a66b87c70 Initial version of toplevel and options handling.
David A. Holland
parents:
diff changeset
16 const char *depend_target;
ee9a66b87c70 Initial version of toplevel and options handling.
David A. Holland
parents:
diff changeset
17 const char *depend_file;
ee9a66b87c70 Initial version of toplevel and options handling.
David A. Holland
parents:
diff changeset
18 bool do_macrolist;
ee9a66b87c70 Initial version of toplevel and options handling.
David A. Holland
parents:
diff changeset
19 bool macrolist_include_stddef;
ee9a66b87c70 Initial version of toplevel and options handling.
David A. Holland
parents:
diff changeset
20 bool macrolist_include_expansions;
ee9a66b87c70 Initial version of toplevel and options handling.
David A. Holland
parents:
diff changeset
21 bool do_trace;
ee9a66b87c70 Initial version of toplevel and options handling.
David A. Holland
parents:
diff changeset
22 bool trace_namesonly;
ee9a66b87c70 Initial version of toplevel and options handling.
David A. Holland
parents:
diff changeset
23 bool trace_indented;
ee9a66b87c70 Initial version of toplevel and options handling.
David A. Holland
parents:
diff changeset
24 };
ee9a66b87c70 Initial version of toplevel and options handling.
David A. Holland
parents:
diff changeset
25
ee9a66b87c70 Initial version of toplevel and options handling.
David A. Holland
parents:
diff changeset
26 struct warns {
ee9a66b87c70 Initial version of toplevel and options handling.
David A. Holland
parents:
diff changeset
27 bool endiflabels;
ee9a66b87c70 Initial version of toplevel and options handling.
David A. Holland
parents:
diff changeset
28 bool nestcomment;
ee9a66b87c70 Initial version of toplevel and options handling.
David A. Holland
parents:
diff changeset
29 bool undef;
ee9a66b87c70 Initial version of toplevel and options handling.
David A. Holland
parents:
diff changeset
30 bool unused;
ee9a66b87c70 Initial version of toplevel and options handling.
David A. Holland
parents:
diff changeset
31 };
ee9a66b87c70 Initial version of toplevel and options handling.
David A. Holland
parents:
diff changeset
32
ee9a66b87c70 Initial version of toplevel and options handling.
David A. Holland
parents:
diff changeset
33 extern struct mode mode;
ee9a66b87c70 Initial version of toplevel and options handling.
David A. Holland
parents:
diff changeset
34 extern struct warns warns;