case TGT_TELESTRAT:
DefineNumericMacro ("__TELESTRAT__", 1);
break;
-
+
case TGT_NES:
DefineNumericMacro ("__NES__", 1);
break;
if (SB_NotEmpty (Name)) {
AbEnd ("Cannot use option `%s' twice", Opt);
}
+ /* A typo in OptTab[] might allow a NULL Arg */
+ if (Arg == 0) {
+ Internal ("Typo in OptTab[]; option '%s' should require an argument", Opt);
+ }
/* Remember the file name for later */
SB_CopyStr (Name, Arg);
SB_Terminate (Name);
-static void OptDebugOptOutput (const char* Opt attribute ((unused)),
+static void OptDebugOptOutput (const char* Opt attribute ((unused)),
const char* Arg attribute ((unused)))
/* Output optimization steps */
{