www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/10/12/08:26:20

From: "Anthony Lipworth" <LIP AT odie DOT ee DOT wits DOT ac DOT za>
To: djgpp AT sun DOT soe DOT clarkson DOT edu, LIP AT odie DOT ee DOT wits DOT ac DOT za
Date: Wed, 12 Oct 1994 11:06:13 SAT
Subject: yyless Lex/Yacc function

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019