view mode.h @ 18:c08a947d8f30

deal with macro parameters
author David A. Holland
date Mon, 20 Dec 2010 01:51:47 -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;