bison-patches
[Top][All Lists]
Advanced

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

Re: Renaming muscles


From: Tim Van Holder
Subject: Re: Renaming muscles
Date: Thu, 4 Jul 2002 14:30:22 +0200

> I must say I had that problem when I renamed them.  My problem is that
> I'm a prefix person (i.e., I much prefer rules_sth than sth_rule.
> Then I prefered `number' since that closer to the names used in
> internal.
> 
> Nevertheless, I'm fine with changing these.  But I'd prefer having
> other opinions: should I use `states_count' etc?

You mean for the types?  I don't think so, from their names, I'd guess
they really refer to a state's numeric ID; as such, state_number_t is a
perfectly fine name.
For final_state_number etc., the _number suffix is probably not
necessary;
final_state adequately reflects that this refers to the final state.

In any case, it would be state_count, not states_count if it evaluated
to
the number of states in the machine.




reply via email to

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