[PATCH 1/2] flex: Avoid REJECT name conflict.

Martin Mares mj at ucw.cz
Thu Apr 29 22:14:16 CEST 2010


Hello!

> `flex' scans your rule actions to determine whether you use the
> `REJECT' or `yymore()' features.  The `REJECT' and `yymore' options are
> available to override its decision as to whether you use the options,
> either by setting them (e.g., `%option reject)' to indicate the feature
> is indeed used, or unsetting them to indicate it actually is not used
> (e.g., `%option noyymore)'.

BTW, wouldn't a simple `%option noreject' suffice?

				Have a nice fortnight
-- 
Martin `MJ' Mares                          <mj at ucw.cz>   http://mj.ucw.cz/
Faculty of Math and Physics, Charles University, Prague, Czech Rep., Earth
If the government wants us to respect the law, it should set a better example.



More information about the Bird-users mailing list