"Michael Scott" <[EMAIL PROTECTED]> wrote:

> Since the enum will specify what you yourself call character classes  
> can't we call the function is_charclass() instead?
The isascii etc macros have been defined in a header called ctype.h for 
some time, and glibc actually has a macro 'isctype' which does the exact
equivalent of what I am proposing, which is why I chose the name; however, 
I have no personal preference, so I'll go with whatever seems most
popular. Your suggestion wins so far.

> BTW the related get_digit() function currently fails some test that I'm  
> working on. If you pass it a non-digit character it blithely calculates  
> from first_code and first_value. Rather, it should indicate failure in  
> some way.
That depends on the definition, which I can't find anywhere. Throwing
an exception seems reasonable, so I'll do that. 

> Mike
Peter

Reply via email to