aboutsummaryrefslogtreecommitdiff
path: root/lobject.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2000-08-11 13:17:28 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2000-08-11 13:17:28 -0300
commit9e84bf18db779bea66947c1ca08db9bf8dc593c8 (patch)
treea476a4da5458de99679c3ca09fbd4e42da2d8360 /lobject.c
parentdaf09c476fe375d8a9a47bc1294a1cd430290226 (diff)
downloadlua-9e84bf18db779bea66947c1ca08db9bf8dc593c8.tar.gz
lua-9e84bf18db779bea66947c1ca08db9bf8dc593c8.tar.bz2
lua-9e84bf18db779bea66947c1ca08db9bf8dc593c8.zip
still more debug information
Diffstat (limited to 'lobject.c')
-rw-r--r--lobject.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/lobject.c b/lobject.c
index d6d3f9c4..c833e921 100644
--- a/lobject.c
+++ b/lobject.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lobject.c,v 1.43 2000/06/30 14:35:17 roberto Exp roberto $ 2** $Id: lobject.c,v 1.44 2000/08/09 19:16:57 roberto Exp roberto $
3** Some generic functions over Lua objects 3** Some generic functions over Lua objects
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -12,6 +12,10 @@
12#include "lobject.h" 12#include "lobject.h"
13 13
14 14
15/*
16** you can use the fact that the 3rd letter or each name is always different
17** (e-m-r-b-n-l) to compare and switch these strings
18*/
15const char *const luaO_typenames[] = { /* ORDER LUA_T */ 19const char *const luaO_typenames[] = { /* ORDER LUA_T */
16 "userdata", "number", "string", "table", "function", "function", "nil", 20 "userdata", "number", "string", "table", "function", "function", "nil",
17 "function", "function" 21 "function", "function"