Index: third_party/lua/src/lctype.c |
diff --git a/third_party/lua/src/lctype.c b/third_party/lua/src/lctype.c |
new file mode 100644 |
index 0000000000000000000000000000000000000000..55e433a5dd7277045ac8d82e809c55c0c3356c19 |
--- /dev/null |
+++ b/third_party/lua/src/lctype.c |
@@ -0,0 +1,52 @@ |
+/* |
+** $Id: lctype.c,v 1.11 2011/10/03 16:19:23 roberto Exp $ |
+** 'ctype' functions for Lua |
+** See Copyright Notice in lua.h |
+*/ |
+ |
+#define lctype_c |
+#define LUA_CORE |
+ |
+#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. */ |
+ 0x00, 0x08, 0x08, 0x08, 0x08, 0x08, 0x00, 0x00, |
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 1. */ |
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
+ 0x0c, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, /* 2. */ |
+ 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, |
+ 0x16, 0x16, 0x16, 0x16, 0x16, 0x16, 0x16, 0x16, /* 3. */ |
+ 0x16, 0x16, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, |
+ 0x04, 0x15, 0x15, 0x15, 0x15, 0x15, 0x15, 0x05, /* 4. */ |
+ 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, |
+ 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, /* 5. */ |
+ 0x05, 0x05, 0x05, 0x04, 0x04, 0x04, 0x04, 0x05, |
+ 0x04, 0x15, 0x15, 0x15, 0x15, 0x15, 0x15, 0x05, /* 6. */ |
+ 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, |
+ 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, /* 7. */ |
+ 0x05, 0x05, 0x05, 0x04, 0x04, 0x04, 0x04, 0x00, |
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 8. */ |
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 9. */ |
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* a. */ |
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* b. */ |
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* c. */ |
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* d. */ |
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* e. */ |
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* f. */ |
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
+}; |
+ |
+#endif /* } */ |