help-bison
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: go back to initial state - yyparse()


From: Hans Aberg
Subject: Re: go back to initial state - yyparse()
Date: Tue, 4 May 2010 17:50:33 +0200

Please keep cc to the list, for others.

  Hans


On 4 May 2010, at 16:00, falcore wrote:

You were right, thank you so much

2010/5/3 Hans Aberg <address@hidden>

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 generated by Flex, you might have forgotten to call yyrestart().

 Hans








reply via email to

[Prev in Thread] Current Thread [Next in Thread]