On 09/12/2013 12:09 AM, Manfred Nowak wrote: > Walter Bright wrote: > >> Since the very beginning. >> >> One example is determining if something is a declaration or an >> expression. > I see now, that you wrote about parsing---not about lexing. > > Btw. I wrote an LALR(1)-parser for an early version of D. This means a > lookahead of one was sufficient---or I made terrible mistakes. > > -manfred I had problems with it, especially with
/IdentifierList: Identifier . IdentifierList TemplateInstance. IdentifierList And Bison also complaint. /