int opts_standard = COMPILER_GMQCC;
bool opts_debug = false;
bool opts_memchk = false;
+bool opts_dumpfin = false;
bool opts_dump = false;
bool opts_werror = false;
bool opts_forcecrc = false;
continue;
}
if (options_long_gcc("redirout", &argc, &argv, &redirout)) {
+ con_change(redirout, redirerr);
continue;
}
if (options_long_gcc("redirerr", &argc, &argv, &redirerr)) {
+ con_change(redirout, redirerr);
continue;
}
opts_dump = true;
continue;
}
+ if (!strcmp(argv[0]+1, "dumpfin")) {
+ opts_dumpfin = true;
+ continue;
+ }
if (!strcmp(argv[0]+1, "memchk")) {
opts_memchk = true;
continue;
case 'h':
usage();
exit(0);
- break;
+ /* break; never reached because of exit(0) */
case 'E':
opts_pp_only = true;
else
{
/* it's a QC filename */
- argitem item;
item.filename = argv[0];
item.type = TYPE_QC;
vec_push(items, item);
}
}
- con_change(redirout, redirerr);
return true;
}
if (opts_standard == COMPILER_GMQCC) {
operators = c_operators;
operator_count = c_operator_count;
+ } else if (opts_standard == COMPILER_FTEQCC) {
+ operators = fte_operators;
+ operator_count = fte_operator_count;
} else {
operators = qcc_operators;
operator_count = qcc_operator_count;