summaryrefslogtreecommitdiff
path: root/options.c
diff options
context:
space:
mode:
authormillaway <millaway>2002-03-18 07:50:28 +0000
committermillaway <millaway>2002-03-18 07:50:28 +0000
commitec664b3f1b616e63336a976b8322d6edf41f687a (patch)
treecf5cd71c72282f4f46781920511a241f0a22c7e9 /options.c
parentb33a4821348885f06e55d0493ec83a3ee88b1b51 (diff)
downloadflex-ec664b3f1b616e63336a976b8322d6edf41f687a.tar.gz
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.
Diffstat (limited to 'options.c')
-rw-r--r--options.c1
1 files changed, 1 insertions, 0 deletions
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},