aboutsummaryrefslogtreecommitdiff
path: root/lfunc.c
diff options
context:
space:
mode:
Diffstat (limited to 'lfunc.c')
-rw-r--r--lfunc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lfunc.c b/lfunc.c
index 3b8dfd21..7d6353cc 100644
--- a/lfunc.c
+++ b/lfunc.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lfunc.c,v 1.40 2001/02/09 20:22:29 roberto Exp roberto $ 2** $Id: lfunc.c,v 1.41 2001/02/20 18:28:11 roberto Exp roberto $
3** Auxiliary functions to manipulate prototypes and closures 3** Auxiliary functions to manipulate prototypes and closures
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -74,7 +74,7 @@ void luaF_freeclosure (lua_State *L, Closure *c) {
74** Look for n-th local variable at line `line' in function `func'. 74** Look for n-th local variable at line `line' in function `func'.
75** Returns NULL if not found. 75** Returns NULL if not found.
76*/ 76*/
77const char *luaF_getlocalname (const Proto *f, int local_number, int pc) { 77const l_char *luaF_getlocalname (const Proto *f, int local_number, int pc) {
78 int i; 78 int i;
79 for (i = 0; i<f->sizelocvars && f->locvars[i].startpc <= pc; i++) { 79 for (i = 0; i<f->sizelocvars && f->locvars[i].startpc <= pc; i++) {
80 if (pc < f->locvars[i].endpc) { /* is variable active? */ 80 if (pc < f->locvars[i].endpc) { /* is variable active? */