From: firehawk@centauri.unm.edu (-* FireHawk *-) Subject: Re: flex vs. lex Date: 14 Apr 1993 23:17:28 GMT
In article <FOX.93Apr14180748@graphics.nyu.edu> fox@graphics.cs.nyu.edu (David Fox) writes:
:
[My original question deleted]
:
:You won't find a more "decent" lex package than flex. yyless is a
:macro in the flex output. How this leads to a solution of the
:problem of undefined yyless symbol is left as an exercise to the
:reader.
Well I've read through the flex documentation and I can't really locate an
answer for it. I have seen it in the flex.skel file. The question I have is
how to define yyless() to the outside world for programs that need it? Programs
that require the yyless() function compile and work fine under lex, but under
flex, the linker always give me an "undefined symbol" on yyless(). I do link
the files with libfl.a and still have no luck.
-Jeff
-- INTERNET: firehawk@carina.unm.edu