[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: shared object libfl?
From: |
Andrew S Halper |
Subject: |
Re: shared object libfl? |
Date: |
Thu, 26 Jul 2001 08:55:18 -0700 |
Thanks very much! This works!
Andy
"John W.
Millaway" To: Andrew S Halper
<address@hidden>
<johnmillaway@ cc: address@hidden
yahoo.com> Subject: Re: shared object libfl?
07/25/01 10:30
AM
--- Andrew S Halper <address@hidden> wrote:
>
> Hmm. Although rather sketchily documented, it appears I might able to use
> GLib to do this, so maybe having a dynamic libfl is not so much of a
> priority after all
Andrew:
You have been misled by the flex documentation regarding the purpose of
libfl.
It is NOT necessary to link a flex scanner to libfl. Flex generates
fully-contained scanners. Libfl merely contains two "default" functions,
main()
and yywrap(). If you provide your own yywrap() and main(), then you do not
need
to link to libfl. See %option yywrap, and %option main.
-John
__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/