view mode.h @ 25:18681e5ae6e4

fix some more bugs
author David A. Holland
date Mon, 20 Dec 2010 04:38:43 -0500
parents 40748b097655
children 76c114899f63
line wrap: on
line source

#include <stdbool.h>

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;