Re: incorrect yychar for unambiguous GLR

2006-01-06 Thread Joel E. Denny
On Tue, 19 Jul 2005, Joel E. Denny wrote: > Should yychar be reliable in semantic actions when declaring %glr-parser? I've installed this patch, which fixes the GLR lookahead bugs I've encountered and adds some related test cases. Although my original post was mainly about deterministic operat

Pure scanner using the sample C++ scanner

2006-01-06 Thread Olivier Delannoy
Hello, I am new to the list so I will find search the mailing list a perfect answer to my problem. What is the best way to have a fully reentrant scanner and parser in bison >= 2.0 / flex. >= 2.5.27. The example in the Bison manual discuss a C++ parser (pure parser) and so reentrant but relies on