summaryrefslogtreecommitdiff
path: root/src/options.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/options.c')
-rw-r--r--src/options.c20
1 files changed, 17 insertions, 3 deletions
diff --git a/src/options.c b/src/options.c
index e98159c..8b7fd8a 100644
--- a/src/options.c
+++ b/src/options.c
@@ -33,7 +33,7 @@
#include "options.h"
-/* Be sure to synchronize these options with those defined in "options.h",
+/* Be sure to synchronize these options with those defined in "ctrl.h",
* the giant switch() statement in "main.c", and the %option processing in
* "scan.l".
*/
@@ -100,7 +100,11 @@ optspec_t flexopts[] = {
{"-n", OPT_DONOTHING, 0}
, /* For POSIX lex compatibility. */
{"--ecs", OPT_ECS, 0}
- , /* Construct equivalence classes. */
+ ,
+ {"--emit=LANG", OPT_EMIT, 0}
+ , /* select language to emit */
+ {"-e LANG", OPT_EMIT, 0}
+ ,
{"--noecs", OPT_NO_ECS, 0}
,
{"-F", OPT_FAST, 0}
@@ -231,7 +235,13 @@ optspec_t flexopts[] = {
{"--yywrap", OPT_YYWRAP, 0}
,
- {"--nounput", OPT_NO_UNPUT, 0}
+ {"--noinput", OPT_NO_YYINPUT, 0}
+ ,
+ {"--noyyinput", OPT_NO_YYINPUT, 0}
+ ,
+ {"--nounput", OPT_NO_YYUNPUT, 0}
+ ,
+ {"--noyyunput", OPT_NO_YYUNPUT, 0}
,
{"--noyy_push_state", OPT_NO_YY_PUSH_STATE, 0}
,
@@ -277,6 +287,10 @@ optspec_t flexopts[] = {
,
{"--noyyset_lloc", OPT_NO_YYSET_LLOC, 0}
,
+ {"--noyyget_debug", OPT_NO_YYGET_DEBUG, 0}
+ ,
+ {"--noyyset_debug", OPT_NO_YYSET_DEBUG, 0}
+ ,
{"--unsafe-no-m4-sect3-escape", OPT_NO_SECT3_ESCAPE, 0}
,
{0, 0, 0} /* required final NULL entry. */