aboutsummaryrefslogtreecommitdiff
path: root/ldebug.c
diff options
context:
space:
mode:
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 47a83587..f2f8097a 100644
--- a/ldebug.c
+++ b/ldebug.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: ldebug.c,v 1.19 2000/05/12 19:49:18 roberto Exp roberto $ 2** $Id: ldebug.c,v 1.20 2000/05/15 19:30:41 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*/
@@ -89,7 +89,7 @@ static int lua_nups (StkId f) {
89 switch (ttype(f)) { 89 switch (ttype(f)) {
90 case TAG_LCLOSURE: case TAG_CCLOSURE: 90 case TAG_LCLOSURE: case TAG_CCLOSURE:
91 case TAG_LMARK: case TAG_CMARK: 91 case TAG_LMARK: case TAG_CMARK:
92 return f->value.cl->nelems; 92 return f->value.cl->nupvalues;
93 default: 93 default:
94 return 0; 94 return 0;
95 } 95 }