summaryrefslogtreecommitdiff
path: root/options.c
diff options
context:
space:
mode:
authormillaway <millaway>2002-08-16 22:32:02 +0000
committermillaway <millaway>2002-08-16 22:32:02 +0000
commit871c02ac63c05640184ea482446a7da65a7e184b (patch)
tree8eb307ec83a1b325648a331b308c1570f7705a3b /options.c
parent728bec05b43762fd09b50bf4155fcaea35a5703c (diff)
downloadflex-871c02ac63c05640184ea482446a7da65a7e184b.tar.gz
Added --tables option.
Omitted tables code from generated scanner when unused.
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 2091dba..d4d61c1 100644
--- a/options.c
+++ b/options.c
@@ -114,6 +114,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. */
+{"--tables[=FILE]", OPT_TABLES,0},/* Save tables to FILE */
{"--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. */