summaryrefslogtreecommitdiff
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 b34e6fff..2fa719ee 100644
--- a/ldebug.c
+++ b/ldebug.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: ldebug.c,v 1.107 2002/04/09 19:47:44 roberto Exp roberto $ 2** $Id: ldebug.c,v 1.108 2002/04/10 12:11:07 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*/
@@ -144,7 +144,7 @@ static void funcinfo (lua_State *L, lua_Debug *ar, StkId func) {
144 if (ttype(func) == LUA_TFUNCTION) 144 if (ttype(func) == LUA_TFUNCTION)
145 cl = clvalue(func); 145 cl = clvalue(func);
146 else { 146 else {
147 luaD_error(L, "value for `lua_getinfo' is not a function"); 147 luaD_runerror(L, "value for `lua_getinfo' is not a function");
148 cl = NULL; /* to avoid warnings */ 148 cl = NULL; /* to avoid warnings */
149 } 149 }
150 if (cl->c.isC) { 150 if (cl->c.isC) {