summaryrefslogtreecommitdiff
path: root/src/ltm.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ltm.c')
-rw-r--r--src/ltm.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/ltm.c b/src/ltm.c
index cf675652..3a9e73ca 100644
--- a/src/ltm.c
+++ b/src/ltm.c
@@ -1,5 +1,5 @@
/*
-** $Id: ltm.c,v 2.10 2009/11/19 19:06:52 roberto Exp $
+** $Id: ltm.c,v 2.11 2010/01/13 16:18:25 roberto Exp $
** Tag methods
** See Copyright Notice in lua.h
*/
@@ -19,10 +19,12 @@
#include "ltm.h"
+static const char udatatypename[] = "userdata";
-LUAI_DDEF const char *const luaT_typenames[] = {
- "nil", "boolean", "userdata", "number",
- "string", "table", "function", "userdata", "thread",
+LUAI_DDEF const char *const luaT_typenames_[] = {
+ "no value",
+ "nil", "boolean", udatatypename, "number",
+ "string", "table", "function", udatatypename, "thread",
"proto", "upval"
};