From: Will Estes Date: Thu, 15 Aug 2002 14:50:10 +0000 (+0000) Subject: conditionally include ; include config.h as well X-Git-Tag: flex-2-5-14~3 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=356da08a8eae40dd8f8edd31de0f9b5a12ba3014;p=flex conditionally include ; include config.h as well --- diff --git a/main.c b/main.c index 5edbd18..b415957 100644 --- a/main.c +++ b/main.c @@ -30,13 +30,11 @@ /* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED */ /* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR */ /* PURPOSE. */ - -#ifndef lint -char copyright[] = -"@(#) Copyright (c) 1990 The Regents of the University of California.\n\ - All rights reserved.\n"; -#endif /* not lint */ - + +#include +#ifdef ENABLE_NLS +#include +#endif /* ENABLE_NLS */ #include "flexdef.h" #include "version.h" #include "options.h" @@ -120,10 +118,6 @@ static char *outfile_template = "lex%s.%s"; static char *backing_name = "lex.bck"; #endif -#ifdef THINK_C -#include -#endif - #ifdef MS_DOS extern unsigned _stklen = 16384; #endif @@ -153,10 +147,6 @@ char *argv[]; if ( exit_status ) return exit_status - 1; -#ifdef THINK_C - argc = ccommand( &argv ); -#endif - flexinit( argc, argv ); readin();