annotate lib/lua/lua-5.2.2/lctype.c @ 1904:1a1c4040bee4

m
author Ritor1
date Mon, 21 Oct 2013 17:23:59 +0600
parents 41cc4dd3c122
children
rev   line source
1866
41cc4dd3c122 Lua 5.2.2 added.
Nomad
parents:
diff changeset
1 /*
41cc4dd3c122 Lua 5.2.2 added.
Nomad
parents:
diff changeset
2 ** $Id: lctype.c,v 1.11 2011/10/03 16:19:23 roberto Exp $
41cc4dd3c122 Lua 5.2.2 added.
Nomad
parents:
diff changeset
3 ** 'ctype' functions for Lua
41cc4dd3c122 Lua 5.2.2 added.
Nomad
parents:
diff changeset
4 ** See Copyright Notice in lua.h
41cc4dd3c122 Lua 5.2.2 added.
Nomad
parents:
diff changeset
5 */
41cc4dd3c122 Lua 5.2.2 added.
Nomad
parents:
diff changeset
6
41cc4dd3c122 Lua 5.2.2 added.
Nomad
parents:
diff changeset
7 #define lctype_c
41cc4dd3c122 Lua 5.2.2 added.
Nomad
parents:
diff changeset
8 #define LUA_CORE
41cc4dd3c122 Lua 5.2.2 added.
Nomad
parents:
diff changeset
9
41cc4dd3c122 Lua 5.2.2 added.
Nomad
parents:
diff changeset
10 #include "lctype.h"
41cc4dd3c122 Lua 5.2.2 added.
Nomad
parents:
diff changeset
11
41cc4dd3c122 Lua 5.2.2 added.
Nomad
parents:
diff changeset
12 #if !LUA_USE_CTYPE /* { */
41cc4dd3c122 Lua 5.2.2 added.
Nomad
parents:
diff changeset
13
41cc4dd3c122 Lua 5.2.2 added.
Nomad
parents:
diff changeset
14 #include <limits.h>
41cc4dd3c122 Lua 5.2.2 added.
Nomad
parents:
diff changeset
15
41cc4dd3c122 Lua 5.2.2 added.
Nomad
parents:
diff changeset
16 LUAI_DDEF const lu_byte luai_ctype_[UCHAR_MAX + 2] = {
41cc4dd3c122 Lua 5.2.2 added.
Nomad
parents:
diff changeset
17 0x00, /* EOZ */
41cc4dd3c122 Lua 5.2.2 added.
Nomad
parents:
diff changeset
18 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0. */
41cc4dd3c122 Lua 5.2.2 added.
Nomad
parents:
diff changeset
19 0x00, 0x08, 0x08, 0x08, 0x08, 0x08, 0x00, 0x00,
41cc4dd3c122 Lua 5.2.2 added.
Nomad
parents:
diff changeset
20 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 1. */
41cc4dd3c122 Lua 5.2.2 added.
Nomad
parents:
diff changeset
21 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
41cc4dd3c122 Lua 5.2.2 added.
Nomad
parents:
diff changeset
22 0x0c, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, /* 2. */
41cc4dd3c122 Lua 5.2.2 added.
Nomad
parents:
diff changeset
23 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04,
41cc4dd3c122 Lua 5.2.2 added.
Nomad
parents:
diff changeset
24 0x16, 0x16, 0x16, 0x16, 0x16, 0x16, 0x16, 0x16, /* 3. */
41cc4dd3c122 Lua 5.2.2 added.
Nomad
parents:
diff changeset
25 0x16, 0x16, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04,
41cc4dd3c122 Lua 5.2.2 added.
Nomad
parents:
diff changeset
26 0x04, 0x15, 0x15, 0x15, 0x15, 0x15, 0x15, 0x05, /* 4. */
41cc4dd3c122 Lua 5.2.2 added.
Nomad
parents:
diff changeset
27 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05,
41cc4dd3c122 Lua 5.2.2 added.
Nomad
parents:
diff changeset
28 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, /* 5. */
41cc4dd3c122 Lua 5.2.2 added.
Nomad
parents:
diff changeset
29 0x05, 0x05, 0x05, 0x04, 0x04, 0x04, 0x04, 0x05,
41cc4dd3c122 Lua 5.2.2 added.
Nomad
parents:
diff changeset
30 0x04, 0x15, 0x15, 0x15, 0x15, 0x15, 0x15, 0x05, /* 6. */
41cc4dd3c122 Lua 5.2.2 added.
Nomad
parents:
diff changeset
31 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05,
41cc4dd3c122 Lua 5.2.2 added.
Nomad
parents:
diff changeset
32 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, /* 7. */
41cc4dd3c122 Lua 5.2.2 added.
Nomad
parents:
diff changeset
33 0x05, 0x05, 0x05, 0x04, 0x04, 0x04, 0x04, 0x00,
41cc4dd3c122 Lua 5.2.2 added.
Nomad
parents:
diff changeset
34 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 8. */
41cc4dd3c122 Lua 5.2.2 added.
Nomad
parents:
diff changeset
35 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
41cc4dd3c122 Lua 5.2.2 added.
Nomad
parents:
diff changeset
36 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 9. */
41cc4dd3c122 Lua 5.2.2 added.
Nomad
parents:
diff changeset
37 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
41cc4dd3c122 Lua 5.2.2 added.
Nomad
parents:
diff changeset
38 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* a. */
41cc4dd3c122 Lua 5.2.2 added.
Nomad
parents:
diff changeset
39 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
41cc4dd3c122 Lua 5.2.2 added.
Nomad
parents:
diff changeset
40 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* b. */
41cc4dd3c122 Lua 5.2.2 added.
Nomad
parents:
diff changeset
41 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
41cc4dd3c122 Lua 5.2.2 added.
Nomad
parents:
diff changeset
42 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* c. */
41cc4dd3c122 Lua 5.2.2 added.
Nomad
parents:
diff changeset
43 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
41cc4dd3c122 Lua 5.2.2 added.
Nomad
parents:
diff changeset
44 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* d. */
41cc4dd3c122 Lua 5.2.2 added.
Nomad
parents:
diff changeset
45 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
41cc4dd3c122 Lua 5.2.2 added.
Nomad
parents:
diff changeset
46 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* e. */
41cc4dd3c122 Lua 5.2.2 added.
Nomad
parents:
diff changeset
47 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
41cc4dd3c122 Lua 5.2.2 added.
Nomad
parents:
diff changeset
48 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* f. */
41cc4dd3c122 Lua 5.2.2 added.
Nomad
parents:
diff changeset
49 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
41cc4dd3c122 Lua 5.2.2 added.
Nomad
parents:
diff changeset
50 };
41cc4dd3c122 Lua 5.2.2 added.
Nomad
parents:
diff changeset
51
41cc4dd3c122 Lua 5.2.2 added.
Nomad
parents:
diff changeset
52 #endif /* } */