summaryrefslogtreecommitdiff
path: root/ltm.c
diff options
context:
space:
mode:
Diffstat (limited to 'ltm.c')
-rw-r--r--ltm.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/ltm.c b/ltm.c
index 3495658a..b859164b 100644
--- a/ltm.c
+++ b/ltm.c
@@ -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
22static const char udatatypename[] = "userdata";
22 23
23LUAI_DDEF const char *const luaT_typenames[] = { 24LUAI_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