From ec664b3f1b616e63336a976b8322d6edf41f687a Mon Sep 17 00:00:00 2001 From: millaway Date: Mon, 18 Mar 2002 07:50:28 +0000 Subject: Removed CFront 1.2 -specific code from skeleton, because CFront now defines __cplusplus properly. Removed TurboC-specific code from skeleton. Skeleton now includes proper C++ standard headers. Relocated "unistd.h" code after user section 1 to allow user to overrid it. New option "nounistd" to suppress unistd.h from being included. --- options.c | 1 + 1 file changed, 1 insertion(+) (limited to 'options.c') diff --git a/options.c b/options.c index b84df15..45e64fd 100644 --- a/options.c +++ b/options.c @@ -79,6 +79,7 @@ optspec_t flexopts[] = { {"--stdout", OPT_STDOUT,0},/* Write generated scanner to stdout. */ {"-T", OPT_TRACE,0}, {"--trace", OPT_TRACE,0},/* Flex should run in trace mode. */ +{"--nounistd", OPT_NO_UNISTD_H,0}, /* Do not include unistd.h */ {"-v", OPT_VERBOSE,0}, {"--verbose", OPT_VERBOSE,0},/* Write summary of scanner statistics to stdout. */ {"-V", OPT_VERSION,0}, -- cgit v1.2.1