tech-userlevel archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
using the interfaces in ctype.h
I have reread the April 2008 thread with the same subject, e.g.,
http://mail-index.netbsd.org/tech-userlevel/2008/04/17/msg000354.html
which basically says, use int, not char, as argument for the c-type functions.
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)
What should I do?
(Ignore, as it seems that *p != EOF ?)
(misc.c seems to used unsigned char)
Cheers,
Patrick
Home |
Main Index |
Thread Index |
Old Index