diff options
Diffstat (limited to 'ltm.c')
-rw-r--r-- | ltm.c | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ltm.c,v 2.9 2007/09/10 17:59:32 roberto Exp roberto $ | 2 | ** $Id: ltm.c,v 2.10 2009/11/19 19:06:52 roberto Exp roberto $ |
3 | ** Tag methods | 3 | ** Tag methods |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -19,10 +19,12 @@ | |||
19 | #include "ltm.h" | 19 | #include "ltm.h" |
20 | 20 | ||
21 | 21 | ||
22 | static const char udatatypename[] = "userdata"; | ||
22 | 23 | ||
23 | LUAI_DDEF const char *const luaT_typenames[] = { | 24 | LUAI_DDEF const char *const luaT_typenames_[] = { |
24 | "nil", "boolean", "userdata", "number", | 25 | "no value", |
25 | "string", "table", "function", "userdata", "thread", | 26 | "nil", "boolean", udatatypename, "number", |
27 | "string", "table", "function", udatatypename, "thread", | ||
26 | "proto", "upval" | 28 | "proto", "upval" |
27 | }; | 29 | }; |
28 | 30 | ||