mirror of
https://github.com/cc65/cc65.git
synced 2025-02-09 02:30:42 +00:00
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
@ -180,8 +180,8 @@ static void DisableLinking (void)
|
||||
|
||||
static void DisableAssemblingAndLinking (void)
|
||||
{
|
||||
DisableAssembling();
|
||||
DisableLinking();
|
||||
DisableAssembling ();
|
||||
DisableLinking ();
|
||||
}
|
||||
|
||||
|
||||
@ -1427,7 +1427,7 @@ int main (int argc, char* argv [])
|
||||
|
||||
case 'S':
|
||||
/* Dont assemble and link the created files */
|
||||
DisableAssemblingAndLinking();
|
||||
DisableAssemblingAndLinking ();
|
||||
break;
|
||||
|
||||
case 'T':
|
||||
@ -1443,7 +1443,7 @@ int main (int argc, char* argv [])
|
||||
case 'E':
|
||||
/* Forward -E to compiler */
|
||||
CmdAddArg (&CC65, Arg);
|
||||
DisableAssemblingAndLinking();
|
||||
DisableAssemblingAndLinking ();
|
||||
break;
|
||||
|
||||
case 'W':
|
||||
@ -1465,9 +1465,10 @@ int main (int argc, char* argv [])
|
||||
OptLdArgs (Arg, GetArg (&I, 3));
|
||||
break;
|
||||
default:
|
||||
UnknownOption (Arg);
|
||||
break;
|
||||
}
|
||||
}else {
|
||||
} else {
|
||||
/* Anything else: Suppress warnings (compiler) */
|
||||
CmdAddArg2 (&CC65, "-W", GetArg (&I, 2));
|
||||
}
|
||||
@ -1475,7 +1476,7 @@ int main (int argc, char* argv [])
|
||||
|
||||
case 'c':
|
||||
/* Don't link the resulting files */
|
||||
DisableLinking();
|
||||
DisableLinking ();
|
||||
break;
|
||||
|
||||
case 'd':
|
||||
|
Loading…
x
Reference in New Issue
Block a user