summaryrefslogtreecommitdiff
path: root/options.c
diff options
context:
space:
mode:
authorJohn Millaway <john43@users.sourceforge.net>2002-03-18 07:50:28 +0000
committerJohn Millaway <john43@users.sourceforge.net>2002-03-18 07:50:28 +0000
commit0dab517d3354abafd3650390366b3b2fda067a66 (patch)
tree2680af5b9ddbf03dfcbb21704288eee45c74f1d2 /options.c
parent81599fd058758b3ad9dd40daf9b60a92b3dd8d91 (diff)
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},