ctype 'lalpha' includes '_' (as '_' behaves as a letter from the

point of view of Lua)
This commit is contained in:
Roberto Ierusalimschy
2009-03-11 10:27:32 -03:00
parent 6427c61e7c
commit 6ffcf21367
3 changed files with 11 additions and 9 deletions

View File

@@ -1,5 +1,5 @@
/*
** $Id: lctype.c,v 1.2 2009/02/20 13:11:15 roberto Exp roberto $
** $Id: lctype.c,v 1.3 2009/03/10 17:42:33 roberto Exp roberto $
** 'ctype' functions for Lua
** See Copyright Notice in lua.h
*/
@@ -20,7 +20,7 @@ const char luai_ctype_[UCHAR_MAX + 1] = {
0x04, 0x15, 0x15, 0x15, 0x15, 0x15, 0x15, 0x05,
0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05,
0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05,
0x05, 0x05, 0x05, 0x04, 0x04, 0x04, 0x04, 0x04,
0x05, 0x05, 0x05, 0x04, 0x04, 0x04, 0x04, 0x05,
0x04, 0x15, 0x15, 0x15, 0x15, 0x15, 0x15, 0x05,
0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05,
0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05,