diff options
Diffstat (limited to '')
| -rw-r--r-- | ltm.c | 6 |
1 files changed, 3 insertions, 3 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: ltm.c,v 2.11 2010/01/13 16:18:25 roberto Exp roberto $ | 2 | ** $Id: ltm.c,v 2.12 2010/04/13 20:48:12 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 | */ |
| @@ -21,11 +21,11 @@ | |||
| 21 | 21 | ||
| 22 | static const char udatatypename[] = "userdata"; | 22 | static const char udatatypename[] = "userdata"; |
| 23 | 23 | ||
| 24 | LUAI_DDEF const char *const luaT_typenames_[] = { | 24 | LUAI_DDEF const char *const luaT_typenames_[LUA_TOTALTAGS] = { |
| 25 | "no value", | 25 | "no value", |
| 26 | "nil", "boolean", udatatypename, "number", | 26 | "nil", "boolean", udatatypename, "number", |
| 27 | "string", "table", "function", udatatypename, "thread", | 27 | "string", "table", "function", udatatypename, "thread", |
| 28 | "proto", "upval" | 28 | "proto", "upval" /* these last two cases are used for tests only */ |
| 29 | }; | 29 | }; |
| 30 | 30 | ||
| 31 | 31 | ||
