[Top][All Lists]

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

Re: beta testing

From: Hans Aberg
Subject: Re: beta testing
Date: Sat, 20 Apr 2002 09:56:53 +0200

At 17:13 +0200 2002/04/19, Akim Demaille wrote:
>Hans, could you detail why you prefer const int over enum?

This was probably before I had read the C++ standard on the topic :-):

In another post I said that the standard enum should be implemented using
the integral types of the first enum item, or if that is not sufficient, by
an integral type that is sufficient.

Thus, one should probably define an internal yytoken_type, and the first
item in the token enumeration should of type yytoken_type. (I detailed this
somewhat in another post, I recall.

  Hans Aberg

reply via email to

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