On Thu, May 09, 2013 at 01:05:35PM +0300, Mikolaj Golub wrote: > Yes, it is like so. Thanks! I am now considering two possible > solutions: > > 1) As it is suggested above, add trivial yywrap() and link without -ll. > > 2) Add '%option noyywrap' to hastd/token.l, and link hastd, hastctl > and snmp_hast without -ll (it looks like yywrap is needed only when > parsing more than one file). > > See the patches below. It looks both solutions work for me and I > personally prefer the second one. I do not have any opinion, use what you prefer.
pgp1MNxJlB8Wa.pgp
Description: PGP signature