BISON reentrance bug

Brian Robertson <bdrobert@mit.edu>
Wed, 10 May 1995 02:21:41 GMT

          From comp.compilers

Related articles
BISON reentrance bug bdrobert@mit.edu (Brian Robertson) (1995-05-10)
| List of all articles for this month |

Newsgroups: comp.compilers
From: Brian Robertson <bdrobert@mit.edu>
Keywords: yacc, question
Organization: Compilers Central
Date: Wed, 10 May 1995 02:21:41 GMT

I am trying to get a re-entrant %pure parser working with BISON.
It calls itself fine, parses and returns, but there is a look-ahead
token left over from the recursive parse, which causes the parse to fail.


I have tried the 'yyclearin' call, after the recursive call to yyparse
returns but that did not help. It has gone one token too far and it needs
to backup and re-read the exact same token.


Any ideas on how to solve this problem would be very helpful!


Brian Robertson
--


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.