view mode.h @ 10:800f3a560a3b

move seenfiles to place.c too
author David A. Holland
date Sun, 19 Dec 2010 19:27:14 -0500
parents ee9a66b87c70
children 40748b097655
line wrap: on
line source

struct mode {
	bool werror;
	bool input_allow_dollars;
	unsigned input_tabstop;
	bool do_stdinc;
	bool do_stddef;
	bool do_output;
	bool output_linenumbers;
	bool output_retain_comments;
	const char *output_file;
	bool do_depend;
	bool depend_report_system;
	bool depend_assume_generated;
	bool depend_issue_fakerules;
	bool depend_quote_target;
	const char *depend_target;
	const char *depend_file;
	bool do_macrolist;
	bool macrolist_include_stddef;
	bool macrolist_include_expansions;
	bool do_trace;
	bool trace_namesonly;
	bool trace_indented;
};

struct warns {
	bool endiflabels;
	bool nestcomment;
	bool undef;
	bool unused;
};

extern struct mode mode;
extern struct warns warns;