Re: yytname woes

Hans Ã…berg <[email protected]> Mon, 13 Nov 2023 10:52:02 +0100
Newsgroups gmane.comp.parsers.bison.general
Message-ID <[email protected]>
> On Nov 12, 2023, at 02:23, James K. Lowden <[email protected]> =
wrote:
>=20
> My yytname array is obviously messed up.  Whether or not it's needed =
by
> the parser, whether or not ASCII characters can be used as tokens, is
> immaterial. =20
>=20
> Let's start, shall we, with "is it a bug"? =20

The parser knows how to translate token numbers into names for error =
messages, but there is no API for that as far as I know.