lex, yacc question

Richard Schumeyer ricks at luke.nrl.navy.mil
Fri Jun 14 08:33:46 AEST 1991


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 at luke.nrl.navy.mil 
Naval Research Lab       (202)404-7966
Space Science Division
------------------------------------------------------------



More information about the Comp.unix.programmer mailing list