Re: [bug-bison] Bug in string-valued terminals

2010-12-29 Thread Joel E. Denny
Hi Tom, I've added help-bison. Maybe someone there will know more. On Wed, 29 Dec 2010, Tom Roberts wrote: > Ok. I decided to not use yytoknum[], as it is undocumented and also requires a > funky "#define YYPRINT". Here is the code I am using inside yylex(): > for(int i=0; i

Re: [bug-bison] Bug in string-valued terminals

2010-12-29 Thread twlevo
On Wed, 29 Dec 2010 20:31:15 -0500 (EST), Joel E. Denny wrote: Again, it would be great if someone could recall how %token-table and the yytname table it generates were originally intended to be used. Maybe this helps: looked in the oldest known bison-1.0 source which has yytname[] in output.c