Re: Enum for token '0', EOF

2006-07-09 Thread Joel E. Denny
On Sun, 9 Jul 2006, Akim Demaille wrote: > I'd like to see its > destructor called, just as in glr. I'll implement whatever we decide for glr.c. Maybe someone else can handle yacc.c? > As a matter of fact, I have considered adding a BOF in complement of > EOF: it seems that this token would al

Re: Enum for token '0', EOF

2006-07-09 Thread Akim Demaille
Le 9 juil. 06 à 17:17, Joel E. Denny a écrit : On Sun, 9 Jul 2006, Akim Demaille wrote: A friend of mine was using END in his grammars in a very specific place (he was making error recovery right before END), that's why I didn't disable it. Sure, it's wrong to play with it, but quickly enoug

Re: Enum for token '0', EOF

2006-07-09 Thread Joel E. Denny
On Sun, 9 Jul 2006, Akim Demaille wrote: > A friend of mine was using END in his grammars in a very specific > place (he was making error recovery right before END), that's why > I didn't disable it. Sure, it's wrong to play with it, but quickly > enough you have a grammar that generates an empty