diff options
Diffstat (limited to 'lctype.c')
-rw-r--r-- | lctype.c | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -1,13 +1,15 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lctype.c,v 1.8 2009/11/19 19:06:52 roberto Exp roberto $ | 2 | ** $Id: lctype.c,v 1.9 2011/06/23 16:00:43 roberto Exp roberto $ |
3 | ** 'ctype' functions for Lua | 3 | ** 'ctype' functions for Lua |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
6 | 6 | ||
7 | #include <limits.h> | ||
8 | |||
9 | #include "lctype.h" | 7 | #include "lctype.h" |
10 | 8 | ||
9 | #if !LUA_USE_CTYPE /* { */ | ||
10 | |||
11 | #include <limits.h> | ||
12 | |||
11 | LUAI_DDEF const lu_byte luai_ctype_[UCHAR_MAX + 2] = { | 13 | LUAI_DDEF const lu_byte luai_ctype_[UCHAR_MAX + 2] = { |
12 | 0x00, /* EOZ */ | 14 | 0x00, /* EOZ */ |
13 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0. */ | 15 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0. */ |
@@ -43,3 +45,5 @@ LUAI_DDEF const lu_byte luai_ctype_[UCHAR_MAX + 2] = { | |||
43 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* f. */ | 45 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* f. */ |
44 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | 46 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
45 | }; | 47 | }; |
48 | |||
49 | #endif /* } */ | ||