index 45b9edab6b9a53cbe94faa073a375cb5f2d89b8b..f280bcd71c6fc4e71d4a9a3e1112c6b523a08589 100644 (file)
/* we don't need the default rule */
%option nodefault
+/* nounistd suppresses inclusion of the non-ANSI header file unistd.h.
+ This option is meant to target environments in which unistd.h does not exist.
+ Be aware that certain options may cause flex to generate code that relies on
+ functions normally found in unistd.h, (e.g. isatty(), read().)
+ If you wish to use these functions, you will have to inform your compiler where
+ to find them. See option-always-interactive. See option-read. */
+%option nounistd
+
/* batch means that we'll never use the generated lexer interactively. */
%option batch
index 3396a888054989188e9599d8a20a39d2888bb35b..e3cdb9a3ae8180639d328dbd3f68e8d2c94c1961 100644 (file)
/* we don't need the default rule */
%option nodefault
+/* nounistd suppresses inclusion of the non-ANSI header file unistd.h.
+ This option is meant to target environments in which unistd.h does not exist.
+ Be aware that certain options may cause flex to generate code that relies on
+ functions normally found in unistd.h, (e.g. isatty(), read().)
+ If you wish to use these functions, you will have to inform your compiler where
+ to find them. See option-always-interactive. See option-read. */
+%option nounistd
+
/* batch means that we'll never use the generated lexer interactively. */
%option batch