[Top][All Lists]

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

Re: bison 2.0a token quoting change

From: Hans Aberg
Subject: Re: bison 2.0a token quoting change
Date: Fri, 22 Jul 2005 15:29:12 +0200

On 21 Jul 2005, at 23:04, Paul Eggert wrote:

yytname is unchanged, but yytstring is an new array of size NTOKENS,
containing the literal token string if one exists, or NULL if it

I thought about this for a while, and looked at the documentation
(which doesn't match what the code does), and decided to revert the
change to yytname instead.  That way, yytname will be unambiguous and
code that relies on the Bison 2.0-and-earlier convention will continue
to work.

The idea of removing the quotes was to prepare for better error reporting. Is that now reversed?

  Hans Aberg

reply via email to

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