parsercmd/src/configpar.cxx
// ===========================================================================
// ===========================================================================
// Parse a configuration file describing how a particular compiler handles its
// command line arguments, and how to translate those arguments for aset_CCcc.
// The file is in a simplified XML data format.
//
Parse a configuration file describing how a particular compiler handles its
command line arguments, and how to translate those arguments for aset_CCcc.
The file is in a simplified XML data format.
Parse a configuration file describing how a particular compiler handles its command line arguments and how to translate those arguments for aset_CCcc . The file is in a simplified XML data format .
bool parse_config_file(const char *config_file, string *&diagnostic, 
		       vector<const char *> &name_intros,
		       vector<const char *> &name_equivs,
		       string *&flag_prefix, 
		       vector<OutputBlock *> &output_seq,
		       msg_sev &unrec_msg,
		       CommandLineInterpreter &env) {
    ConfigParser theParser(config_file, diagnostic, name_intros,
			   name_equivs, flag_prefix,
			   output_seq, unrec_msg, env);
    theParser.parse();
    return theParser.success();
}
bool parse_config_file ( const char * config_file , string * & diagnostic , vector < const char * > & name_intros , vector < const char * > & name_equivs , string * & flag_prefix , vector < OutputBlock * > & output_seq , msg_sev & unrec_msg , CommandLineInterpreter & env ) { ConfigParser theParser ( config_file , diagnostic , name_intros , name_equivs , flag_prefix , output_seq , unrec_msg , env ) ; theParser . parse ( ) ; return theParser . success ( ) ; }
Parse a configuration file describing how a particular compiler handles its
command line arguments, and how to translate those arguments for aset_CCcc.
Parse a configuration file describing how a particular compiler handles its command line arguments and how to translate those arguments for aset_CCcc .