From c8c01cd1f531c4434e0752cd4d4f76650af2bbaa Mon Sep 17 00:00:00 2001 From: Joseph Poirier Date: Sat, 6 Jun 2015 22:48:35 -0500 Subject: [PATCH] minor help message tweak, remove nested precompile check --- picoc.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/picoc.c b/picoc.c index a52a2d3..ed4122f 100644 --- a/picoc.c +++ b/picoc.c @@ -23,8 +23,8 @@ int main(int argc, char **argv) if (argc < 2) { printf(PICOC_VERSION " \n" - "Format: picoc ... [- ...] : run a program (calls main() to start it)\n" - " picoc -s ... [- ...] : script mode - runs the program without calling main()\n" + "Format: picoc ... [- ...] : run a program (calls main() to start it)\n" + " picoc -s ... [- ...] : script mode - runs the program without calling main()\n" " picoc -i : interactive mode\n"); exit(1); } @@ -61,8 +61,7 @@ int main(int argc, char **argv) PicocCleanup(&pc); return pc.PicocExitValue; } -#else -# ifdef SURVEYOR_HOST +#elif defined(SURVEYOR_HOST) # define HEAP_SIZE C_HEAPSIZE # include # include "../srv.h" @@ -102,5 +101,4 @@ int picoc(char *SourceStr) return PicocExitValue; } -# endif #endif