Hi Paul,

> For now I was more conservative installed the attached, which limits the 
> scope of the new type (which I dubbed "idx_t", by analogy from Idx in 
> the regex code) to dfa.c.

Thank you!

The type name 'idx_t' sounds good, since in most cases it denotes an index
(or a bound for an index), and it has the usual _t suffix.

> There 
> were iffy places where it kinda doesn't matter whether one uses 
> ptrdiff_t or idx_t and where I expect other developers won't bother 
> about the difference

Right. The same situation occurs already with 'int' vs. 'unsigned int':
In a number of places it doesn't matter. But in many places it does matter.

Bruno



Reply via email to