}
if(!valid)
+ {
printf($"Syntax:\n ecc [-t <target platform>] [-cpp <c preprocessor>] [-o <output>] [-symbols <outputdir>] [-I<includedir>]* [-isystem <sysincludedir>]* [-D<definition>]* -c <input>\n");
+#ifdef _DEBUG
+ printf($"\nArguments given:");
+ for(c = 1; c<argc; c++)
+ printf(" %s", argv[c]);
+#endif
+ }
else
{
DualPipe cppOutput;
}
if(!valid)
+ {
printf($"Syntax:\n ecp [-t <target platform>] [-cpp <c preprocessor>] [-o <output>] [-symbols <outputdir>] [-I<includedir>]* [-isystem <sysincludedir>]* [-D<definition>]* -c <input>\n");
+#ifdef _DEBUG
+ printf($"\nArguments given:");
+ for(c = 1; c<argc; c++)
+ printf(" %s", argv[c]);
+#endif
+ }
else
{
// TODO: Improve this
valid = false;
if(!valid)
+ {
printf($"Syntax:\n ecs [-t <target platform>] <input>[, <input>]* -o <output>\n");
+#ifdef _DEBUG
+ printf($"\nArguments given:");
+ for(c = 1; c<argc; c++)
+ printf(" %s", argv[c]);
+#endif
+ }
else
{
int c;