go back to initial state - yyparse()

2010-05-03 Thread falcore
Hello, I wonder if you could give me some kind of advice using bison. I´m using a parser to analize strings introduced interactively from the standard output. There is a call to yyparse() inside a loop, something like that while(.){ . . yyparse(); . . } Well, the f

Re: go back to initial state - yyparse()

2010-05-03 Thread Joel E. Denny
On Sun, 2 May 2010, falcore wrote: > I´m using a parser to analize strings introduced interactively from the > standard output. There is a call to yyparse() inside a loop, something like > that > Well, the first time is called works fine, but in consecutively calls, the > parser fails. > > It fa

Re: go back to initial state - yyparse()

2010-05-03 Thread Hans Aberg
On 2 May 2010, at 20:27, falcore wrote: I´m using a parser to analize strings introduced interactively from the standard output. There is a call to yyparse() inside a loop, ... ... ... the first time is called works fine, but in consecutively calls, the parser fails. If your lexer is ge