Return to BSD News archive
Newsgroups: comp.os.386bsd.questions Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!hookup!swrinde!ihnp4.ucsd.edu!usc!howland.reston.ans.net!EU.net!sunic!aun.uninett.no!news.uit.no!cc.uit.no!finns From: finns@cc.uit.no (Finn Stensvik) Subject: Re: yacc lex and *BSD how to get it working Message-ID: <1994Apr18.183850.22753@news.uit.no> Sender: finns@cc.uit.no (Finn Stensvik) Date: Mon, 18 Apr 1994 18:38:50 GMT References: <1994Apr14.144305.16368@news.uit.no> <2ors13INN6ph@bonnie.sax.de> <ASAMI.94Apr18060900@forgery.cs.berkeley.edu> Organization: University of Tromsoe, Norway Lines: 27 In article <ASAMI.94Apr18060900@forgery.cs.berkeley.edu>, asami@cs.berkeley.edu (Satoshi ASAMI) writes: In article <2ors13INN6ph@bonnie.sax.de> j@uriah.sax.de (J Wunsch) writes: <stuff deleted> >I already posted a followup to this question....mine was piewm, but >they should be mostly the same. >The problem is that in lex.l, there is a line: >yywrap() { return(1);} >but yywrap is defined as >#define yywrap() 1 >(or something like that) elsewhere. I just commented out that line, >maybe there is a better solution. >Satoshi Yep! That was it. I commented out the same line, and things compiled right away. Thanks for the help folks! Cheers, Finn