On Thu, Sep 07, 2006 at 02:45:50PM -0500, Bill Allombert wrote: > So if you are to write a library that include a flex scanner, all you > have to do is to prvide your own yywrap() function, even if it is > just return 1; and you won't need to link with libfl.a.
Why can't flex emit a default yywrap() function as part of the scanner code, marking it __attribute__((weak)) so the app can override it? Gabor -- --------------------------------------------------------- MTA SZTAKI Computer and Automation Research Institute Hungarian Academy of Sciences --------------------------------------------------------- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]