* posiz, AND check for conflicting options. How far should we go
* with this? Should we disable all the neat-o flex features?
*/
+ /* Update: Estes says no, since other flex features don't violate posix. */
}
if ( getenv("POSIXLY_CORRECT") )
{
posix_compat = true;
- /* TODO: See TODO comment above */
}
if ( backing_up_report )
#define CHECK_YYMORE(str) \
if ( all_lower( str ) ) \
yymore_used = true;
+
+#define YY_USER_INIT \
+ if ( getenv("POSIXLY_CORRECT") ) \
+ posix_compat = true;
+
%}
%option caseless nodefault stack noyy_top_state