Menu

#26 crash

open
nobody
None
5
2006-04-13
2006-04-13
Anonymous
No

if there is an accent char like that éà ...
in comments, there is a crash Under vc .net 2003

isalnum take an int as input parameter and this chars
are seen a less than 0.

to correct, change this line (lexi.h line 59)

#define Lisword(c) (isalnum(c) || ((c) == '_') || ((c)
== '#'))

by

#define Lisword(c) (isalnum((unsigned char)c) || ((c)
== '_') || ((c) == '#'))

Discussion

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.