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: Mon, 3 May 2010 22:34:39 +0200


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]