added missing spaces before braces. added unknown option msg if not given -Wc|l|a when passing options to subprocess
This commit is contained in:
parent
21b1add984
commit
f87a575d4d
1 changed files with 7 additions and 6 deletions
|
@ -180,8 +180,8 @@ static void DisableLinking (void)
|
||||||
|
|
||||||
static void DisableAssemblingAndLinking (void)
|
static void DisableAssemblingAndLinking (void)
|
||||||
{
|
{
|
||||||
DisableAssembling();
|
DisableAssembling ();
|
||||||
DisableLinking();
|
DisableLinking ();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -1427,7 +1427,7 @@ int main (int argc, char* argv [])
|
||||||
|
|
||||||
case 'S':
|
case 'S':
|
||||||
/* Dont assemble and link the created files */
|
/* Dont assemble and link the created files */
|
||||||
DisableAssemblingAndLinking();
|
DisableAssemblingAndLinking ();
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'T':
|
case 'T':
|
||||||
|
@ -1443,7 +1443,7 @@ int main (int argc, char* argv [])
|
||||||
case 'E':
|
case 'E':
|
||||||
/* Forward -E to compiler */
|
/* Forward -E to compiler */
|
||||||
CmdAddArg (&CC65, Arg);
|
CmdAddArg (&CC65, Arg);
|
||||||
DisableAssemblingAndLinking();
|
DisableAssemblingAndLinking ();
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'W':
|
case 'W':
|
||||||
|
@ -1465,9 +1465,10 @@ int main (int argc, char* argv [])
|
||||||
OptLdArgs (Arg, GetArg (&I, 3));
|
OptLdArgs (Arg, GetArg (&I, 3));
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
UnknownOption (Arg);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}else {
|
} else {
|
||||||
/* Anything else: Suppress warnings (compiler) */
|
/* Anything else: Suppress warnings (compiler) */
|
||||||
CmdAddArg2 (&CC65, "-W", GetArg (&I, 2));
|
CmdAddArg2 (&CC65, "-W", GetArg (&I, 2));
|
||||||
}
|
}
|
||||||
|
@ -1475,7 +1476,7 @@ int main (int argc, char* argv [])
|
||||||
|
|
||||||
case 'c':
|
case 'c':
|
||||||
/* Don't link the resulting files */
|
/* Don't link the resulting files */
|
||||||
DisableLinking();
|
DisableLinking ();
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'd':
|
case 'd':
|
||||||
|
|
Loading…
Add table
Reference in a new issue