tech-userlevel archive

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

Re: using the interfaces in ctype.h



On Tue, Aug 19, 2008 at 03:43:07PM +0100, Patrick Welche wrote:
> Currently we have lex 2.5.4. Cunningly lex 2.5.6 starts using (in scanopt.c)
> ctype calls with chars, e.g.,
> 
>                 const char *p, *pname;  
> ...
>                         if (*p == '=' || isspace (*p)

It should cast *p to unsigned char.

Joerg


Home | Main Index | Thread Index | Old Index