Re: should we deprecate %token-table?

2011-01-09 Thread Hans Aberg
On 9 Jan 2011, at 20:28, Paul Eggert wrote: we document %token-table and yytname as deprecated features and make Bison warn when %token-table is specified This seems the better course to me. The feature does not sound that well-thought-out; if nobody has the time to think it through and do it

Re: should we deprecate %token-table?

2011-01-09 Thread Paul Eggert
On 01/09/2011 07:18 AM, Joel E. Denny wrote: > we document %token-table and yytname as deprecated > features and make Bison warn when %token-table is specified This seems the better course to me. The feature does not sound that well-thought-out; if nobody has the time to think it through and do

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

2011-01-09 Thread Joel E. Denny
Hi John, On Fri, 31 Dec 2010, John P. Hartmann wrote: > I cannot answer your question directly, but maybe this will be of some > help in the folklore department. > > Bison used to have an option to generate the just the tables > (no-parser), which by the end of version 1 still worked sort-of. Y

should we deprecate %token-table? (was: Re: [bug-bison] Bug in string-valued terminals)

2011-01-09 Thread Joel E. Denny
On Fri, 31 Dec 2010, twlevo wrote: > > On Thu, 30 Dec 2010 18:20:09 -0500 (EST), Joel E. Denny wrote: > > > Oldest found doc about a option --token-table and %token-table is > > > in gcc-1.22 or gcc-1.24 in bison.info.2 or .4 without a note how to use > > > it. > > Could you explain a little more