25 "--print-rejected-preprocessed-source",
63 for(
int i=1; i<argc; i++)
65 std::string argv_i=argv[i];
78 *o!=
nullptr && !found;
88 set(argv_i, argv[i+1]);
97 set(os, argv_i.substr(os.size()+1));
116 *o!=
nullptr && !found;
126 set(argv_i, argv[i+1]);
136 set(os, argv[i]+os.size());
143 std::cerr <<
"Warning: uninterpreted as86 option '" << argv_i
const char * as86_options_without_argument[]
const char * goto_as86_options_with_argument[]
const char * as86_options_with_argument[]
A special command line object for as86 (of Bruce's C Compiler) Author: Michael Tautschnig Date: July ...
void set(const std::string &opt, const char *value) override
Set option option to value.
void add_infile_arg(const std::string &arg)
static bool in_list(const char *option, const char **list)
virtual bool parse(int argc, const char **argv, const char *optstring)
Parses a commandline according to a specification given in optstring.
void add_arg(const std::string &arg)
bool has_prefix(const std::string &s, const std::string &prefix)
#define PRECONDITION(CONDITION)