BISON:How can I make a While-Loop?
Posted on 1998-12-02
I want to implement a While loop in Flex/Bison, but I don't
know how I can step back in my input string.
while I < 10 do
c = c + b;
I = I + 1;
It is not a problem to run the example above once.
When I get the token endwhile I want to go back to the While-Statement to check the condition. I don't know, how I can get the While-Statement again.
Thanks for your help.