mirror of
https://github.com/lua/lua
synced 2025-03-14 01:32:56 +03:00
resort to standard C ctype for non-ASCII systems
This commit is contained in:
parent
5acc5b0c1e
commit
1978094b3a
10
lctype.c
10
lctype.c
@ -1,13 +1,15 @@
|
||||
/*
|
||||
** $Id: lctype.c,v 1.8 2009/11/19 19:06:52 roberto Exp roberto $
|
||||
** $Id: lctype.c,v 1.9 2011/06/23 16:00:43 roberto Exp roberto $
|
||||
** 'ctype' functions for Lua
|
||||
** See Copyright Notice in lua.h
|
||||
*/
|
||||
|
||||
#include <limits.h>
|
||||
|
||||
#include "lctype.h"
|
||||
|
||||
#if !LUA_USE_CTYPE /* { */
|
||||
|
||||
#include <limits.h>
|
||||
|
||||
LUAI_DDEF const lu_byte luai_ctype_[UCHAR_MAX + 2] = {
|
||||
0x00, /* EOZ */
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0. */
|
||||
@ -43,3 +45,5 @@ LUAI_DDEF const lu_byte luai_ctype_[UCHAR_MAX + 2] = {
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* f. */
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
};
|
||||
|
||||
#endif /* } */
|
||||
|
Loading…
x
Reference in New Issue
Block a user