aboutsummaryrefslogtreecommitdiff
path: root/ldebug.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2001-10-31 17:58:11 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2001-10-31 17:58:11 -0200
commitaf59848219abcab589ac174c829102ed8a2adc8d (patch)
tree3deabe4b29f255013ae2fe83553ffa48f578d90d /ldebug.c
parent46347d768e571ba9b36581c36d11d2de1dee2cfb (diff)
downloadlua-af59848219abcab589ac174c829102ed8a2adc8d.tar.gz
lua-af59848219abcab589ac174c829102ed8a2adc8d.tar.bz2
lua-af59848219abcab589ac174c829102ed8a2adc8d.zip
tables of globals accessible through pseudo-index in C API
Diffstat (limited to 'ldebug.c')
-rw-r--r--ldebug.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ldebug.c b/ldebug.c
index 5adab2af..7b568e60 100644
--- a/ldebug.c
+++ b/ldebug.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: ldebug.c,v 1.90 2001/10/02 16:45:03 roberto Exp $ 2** $Id: ldebug.c,v 1.91 2001/10/25 19:14:14 roberto Exp roberto $
3** Debug Interface 3** Debug Interface
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -221,7 +221,7 @@ static const l_char *travtagmethods (global_State *G, const TObject *o) {
221 221
222 222
223static const l_char *travglobals (lua_State *L, const TObject *o) { 223static const l_char *travglobals (lua_State *L, const TObject *o) {
224 Table *g = L->gt; 224 Table *g = hvalue(&L->gt);
225 int i = sizenode(g); 225 int i = sizenode(g);
226 while (i--) { 226 while (i--) {
227 Node *n = node(g, i); 227 Node *n = node(g, i);