Yacc/Lex: multiple uses in the same program?

Jeffrey W Percival jwp at larry.sal.wisc.edu
Wed Sep 20 00:39:13 AEST 1989


In article <8106 at goofy.megatest.UUCP> djones at megatest.UUCP (Dave Jones) writes:
>From article <727 at larry.sal.wisc.edu>, by jwp at larry.sal.wisc.edu (Jeffrey W Percival):
>> But when I link my main program, I run into trouble with ld(1) finding
>> multiple definitions of many lex variables.
>> How can I do what I want?
>Several ways. (In order from probably best to probably worst...)

Thanks for the info...  I'm almost sorry I asked.


Some people recommended using Flex and Bison, which are claimed to
avoid this pathetic and debilitating flaw in a couple of otherwise
*great* programs.
-- 
Jeff Percival (jwp at larry.sal.wisc.edu)



More information about the Comp.unix.wizards mailing list