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

Martin Mares mj at ucw.cz
Thu Apr 29 22:37:13 CEST 2010


> That would only get rid of the warning, but REJECT is still
> a reserved word(-Cf still fails).

This should not be a problem as we don't use -Cf, should it?

(BTW blindly detecting every occurrence of the substring "REJECT" in the
C code snippets smells of a bug in flex. It might very well be a non-expanded
argument to a macro, which should not be touched by flex at all.)

				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
return(ECRAY); /* Program exited before being run */

More information about the Bird-users mailing list