summaryrefslogtreecommitdiff
path: root/lctype.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2009-03-11 10:27:32 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2009-03-11 10:27:32 -0300
commit6ffcf2136788b032bdc0f8520b1bbc2a4d2ea76e (patch)
treeb411d35241864a0ab14d8077ab3fc1f833e01025 /lctype.c
parent6427c61e7c3e6acd467b488c573ac37b0f46d0a2 (diff)
downloadlua-github-6ffcf2136788b032bdc0f8520b1bbc2a4d2ea76e.tar.gz
ctype 'lalpha' includes '_' (as '_' behaves as a letter from the
point of view of Lua)
Diffstat (limited to 'lctype.c')
-rw-r--r--lctype.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lctype.c b/lctype.c
index df7d23a9..3cd79885 100644
--- a/lctype.c
+++ b/lctype.c
@@ -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,