summaryrefslogtreecommitdiff
path: root/lauxlib.c
diff options
context:
space:
mode:
Diffstat (limited to 'lauxlib.c')
-rw-r--r--lauxlib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lauxlib.c b/lauxlib.c
index 42551e52..f0620236 100644
--- a/lauxlib.c
+++ b/lauxlib.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lauxlib.c,v 1.25 2000/01/19 12:00:45 roberto Exp roberto $ 2** $Id: lauxlib.c,v 1.26 2000/02/08 16:34:31 roberto Exp roberto $
3** Auxiliary functions for building Lua libraries 3** Auxiliary functions for building Lua libraries
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -31,7 +31,7 @@ int luaL_findstring (const char *name, const char *const list[]) {
31} 31}
32 32
33void luaL_argerror (lua_State *L, int narg, const char *extramsg) { 33void luaL_argerror (lua_State *L, int narg, const char *extramsg) {
34 lua_Dbgactreg ar; 34 lua_Debug ar;
35 lua_getstack(L, 0, &ar); 35 lua_getstack(L, 0, &ar);
36 lua_getinfo(L, "nu", &ar); 36 lua_getinfo(L, "nu", &ar);
37 narg -= ar.nups; 37 narg -= ar.nups;