On 10/12/19 1:58 AM, Akim Demaille wrote:
I was about to rename the types for states as

yy_state_num -> yy_small_state_t
int -> yy_state_t

But the latter is seldom used, while the former appears many times, so I'd 
prefer

yy_state_num -> yy_state_t
int -> yy_fast_state_t

WDYT?

yy_state_num values are typically narrower than int, so following Leibniz's notational principle that notation should reflect reality, the former type name should be narrower than the latter, which means your preference is better.

You might consider spelling that last name "yy_state_fast_t" for consistency with stdint.h type names. Plus, whatever name is used, I suppose it should be typedeffed to int_fastN_t (if available) instead of to plain int.

Reply via email to