Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!aplcen!boingo.med.jhu.edu!haven.umd.edu!mimsy!nrl-cmf!Ra.nrl.navy.mil!ricks From: ricks@luke.nrl.navy.mil (Richard Schumeyer) Newsgroups: comp.unix.programmer Subject: Re: lex, yacc question Message-ID: Date: 13 Jun 91 22:33:46 GMT References: <1991Jun13.194159.29295@cs.columbia.edu> Sender: usenet@nrl-cmf.UUCP Distribution: comp Organization: NRL Lines: 13 In-reply-to: tim@cs.columbia.edu's message of 13 Jun 91 19:41:59 GMT I appreciate everyone's response to my lex, yacc question. I now have another one: I want to be able to call yyparse() more than once to parse different files. For testing, I have it set up to parse the same file twice. The first time, everything works fine. The second time the parser returns an error. Do I need to reinitialize yyparse somehow before using it again? How? -- ------------------------------------------------------------ Rick Schumeyer ricks@luke.nrl.navy.mil Naval Research Lab (202)404-7966 Space Science Division ------------------------------------------------------------