help-bison
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: twlevo
Subject: Re: [bug-bison] Bug in string-valued terminals
Date: Thu, 30 Dec 2010 04:13:22 +0100
User-agent: XS4ALL Webmail

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/bison.simple but at that time
there was no ChangeLog file and maybe no cvs repo in may 1988.

And oldest ChangeLog entry with yytname is:
Thu Dec 13 12:45:54 1990  Richard Stallman  (rms at mole.ai.mit.edu)
        * output.c (output_rule_data): Put all symbols in yytname.

The oldest and only ChangeLog entry with token-table is:
2006-08-18  Joel E. Denny  <address@hidden>
        Redo some of the previous commit: add back the ability to use
non-aliased/undeclared string literals since it might be useful to
        those declaring %token-table.

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.

Looked in the complete reconstructed ChangeLog file in oldbison archive
starting with first found Bison ChangeLog file and the first entry
has the date: Mon Apr 18 04:54:32 1988




reply via email to

[Prev in Thread] Current Thread [Next in Thread]