summaryrefslogtreecommitdiff
path: root/options.c
diff options
context:
space:
mode:
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. */