summaryrefslogtreecommitdiff
path: root/options.c
diff options
context:
space:
mode:
authorWill Estes <wlestes@users.sourceforge.net>2002-06-19 13:26:43 +0000
committerWill Estes <wlestes@users.sourceforge.net>2002-06-19 13:26:43 +0000
commit5916310e885f01716646b84bd6eecdb9a7d502ae (patch)
tree9bef35b96f2dfc5792ee4b261a0bfc465029b435 /options.c
parentd9b7016720d0406396beeac6d957c15b72651132 (diff)
address typos in NEWS; add --posix option for ERE parsing the way posix wants it; update the TODO file
Diffstat (limited to 'options.c')
-rw-r--r--options.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/options.c b/options.c
index 2d4ba3a..2091dba 100644
--- a/options.c
+++ b/options.c
@@ -81,6 +81,8 @@ optspec_t flexopts[] = {
{"--interactive", OPT_INTERACTIVE,0},/* Generate interactive scanner (opposite of -B). */
{"-l", OPT_LEX_COMPAT,0},
{"--lex-compat", OPT_LEX_COMPAT,0},/* Maximal compatibility with original lex. */
+{"-X", OPT_POSIX_COMPAT,0},
+{"--posix-compat", OPT_POSIX_COMPAT,0},/* Maximal compatibility with POSIX lex. */
{"-L", OPT_NO_LINE,0},/* Suppress #line directives in scanner. */
{"--noline", OPT_NO_LINE,0},/* Suppress #line directives in scanner. */
{"--main", OPT_MAIN,0}, /* use built-in main() function. */