Mail Archives: djgpp/1994/10/12/08:26:20
Hi,
Can anyone supply a generic C function for the "stamdard" Unix
yyless function? (to get C code produced by a Sun's Lex/Yacc to link
under DJGPP). This function appears to be not available in the
Bison/Flex libs.
If I comment out the call to yyless, the app. compiles and code that
does not rely on yyless works i.e. the Sun's Lex/Yacc C code output
compiles and links under DJGPP 1.12.maint2; GCC 2.6.0 (&& latest
Flex/Bison) (hence yyless is an unresolved external).
The two custom Flex synthesized versions of yyless are totally
incompatible. The Flex/Bison generated C code is incompatible with
the rest of the app or there is a problem with these tools (app
appears to go into an infinite loop when parsing input).
Thanks,
Tony.
- Raw text -