Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Flex & IMCC

1 view
Skip to first unread message

Dan Sugalski

unread,
Jan 21, 2003, 11:29:52 AM1/21/03
to perl6-i...@perl.org
Okay, I can be a bit slow, but I finally figured out what's going on
with IMCC and OS X. imclexer.c is autogenerated (duh!) and flex, or
whatever's being used to do it, spits out bad code. Could the IMCC
folks upgrade to the latest version of flex to see if that fixes
things and, if not, I'll hack up a post-processing program to make
the output buildable.
--
Dan

--------------------------------------"it's like this"-------------------
Dan Sugalski even samurai
d...@sidhe.org have teddy bears and even
teddy bears get drunk

Dan Sugalski

unread,
Jan 21, 2003, 11:45:42 AM1/21/03
to perl6-i...@perl.org
At 11:29 AM -0500 1/21/03, Dan Sugalski wrote:
>Okay, I can be a bit slow, but I finally figured out what's going on
>with IMCC and OS X. imclexer.c is autogenerated (duh!) and flex, or
>whatever's being used to do it, spits out bad code. Could the IMCC
>folks upgrade to the latest version of flex to see if that fixes
>things and, if not, I'll hack up a post-processing program to make
>the output buildable.

FWIW, the version of flex I have on my OS X box generates linkable
code, but I'm not sure if the fink folks smacked flex around some.

Leopold Toetsch

unread,
Jan 21, 2003, 12:10:14 PM1/21/03
to Dan Sugalski, perl6-i...@perl.org
Dan Sugalski wrote:

> Okay, I can be a bit slow, but I finally figured out what's going on
> with IMCC and OS X. imclexer.c is autogenerated (duh!) and flex, or
> whatever's being used to do it, spits out bad code. Could the IMCC folks
> upgrade to the latest version of flex to see if that fixes things and,
> if not, I'll hack up a post-processing program to make the output
> buildable.

Could you be more precise in your error descriptions?
Error message, file line # ... ;-)

If you are talking about the yyin, yyout thingy, this sould be fixed.
Ths was a double define.

leo


Dan Sugalski

unread,
Jan 22, 2003, 2:55:46 AM1/22/03
to Leopold Toetsch, perl6-i...@perl.org
At 6:10 PM +0100 1/21/03, Leopold Toetsch wrote:
>Dan Sugalski wrote:
>
>>Okay, I can be a bit slow, but I finally figured out what's going
>>on with IMCC and OS X. imclexer.c is autogenerated (duh!) and flex,
>>or whatever's being used to do it, spits out bad code. Could the
>>IMCC folks upgrade to the latest version of flex to see if that
>>fixes things and, if not, I'll hack up a post-processing program to
>>make the output buildable.
>
>Could you be more precise in your error descriptions?
>Error message, file line # ... ;-)

:-P

It's a link-time error--yyin is multiply defined.

>If you are talking about the yyin, yyout thingy, this sould be
>fixed. Ths was a double define.

Cool. I didn't see where in the source it was an issue, but I'm not
intimately familiar with the quirks of flex.

0 new messages