minor help message tweak, remove nested precompile check
This commit is contained in:
parent
43300d86b0
commit
c8c01cd1f5
8
picoc.c
8
picoc.c
|
@ -23,8 +23,8 @@ int main(int argc, char **argv)
|
||||||
if (argc < 2)
|
if (argc < 2)
|
||||||
{
|
{
|
||||||
printf(PICOC_VERSION " \n"
|
printf(PICOC_VERSION " \n"
|
||||||
"Format: picoc <csource1.c>... [- <arg1>...] : run a program (calls main() to start it)\n"
|
"Format: picoc <file1.c>... [- <arg1>...] : run a program (calls main() to start it)\n"
|
||||||
" picoc -s <csource1.c>... [- <arg1>...] : script mode - runs the program without calling main()\n"
|
" picoc -s <file1.c>... [- <arg1>...] : script mode - runs the program without calling main()\n"
|
||||||
" picoc -i : interactive mode\n");
|
" picoc -i : interactive mode\n");
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
@ -61,8 +61,7 @@ int main(int argc, char **argv)
|
||||||
PicocCleanup(&pc);
|
PicocCleanup(&pc);
|
||||||
return pc.PicocExitValue;
|
return pc.PicocExitValue;
|
||||||
}
|
}
|
||||||
#else
|
#elif defined(SURVEYOR_HOST)
|
||||||
# ifdef SURVEYOR_HOST
|
|
||||||
# define HEAP_SIZE C_HEAPSIZE
|
# define HEAP_SIZE C_HEAPSIZE
|
||||||
# include <setjmp.h>
|
# include <setjmp.h>
|
||||||
# include "../srv.h"
|
# include "../srv.h"
|
||||||
|
@ -103,4 +102,3 @@ int picoc(char *SourceStr)
|
||||||
return PicocExitValue;
|
return PicocExitValue;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
#endif
|
|
||||||
|
|
Loading…
Reference in a new issue