mirror of https://github.com/rusefi/lua.git
better name for source_id (short_src)
This commit is contained in:
parent
c1f725ba4a
commit
024ed4218f
4
ldebug.c
4
ldebug.c
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
** $Id: ldebug.c,v 1.39 2000/08/31 13:29:12 roberto Exp roberto $
|
||||
** $Id: ldebug.c,v 1.40 2000/09/11 20:29:27 roberto Exp roberto $
|
||||
** Debug Interface
|
||||
** See Copyright Notice in lua.h
|
||||
*/
|
||||
|
@ -195,7 +195,7 @@ static void lua_funcinfo (lua_Debug *ar, StkId func) {
|
|||
default:
|
||||
LUA_INTERNALERROR("invalid `func' value");
|
||||
}
|
||||
luaO_chunkid(ar->source_id, ar->source, sizeof(ar->source_id));
|
||||
luaO_chunkid(ar->short_src, ar->source, sizeof(ar->short_src));
|
||||
if (ar->linedefined == 0)
|
||||
ar->what = "main";
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
** $Id: luadebug.h,v 1.13 2000/08/28 17:57:04 roberto Exp roberto $
|
||||
** $Id: luadebug.h,v 1.14 2000/09/11 20:29:27 roberto Exp roberto $
|
||||
** Debugging API
|
||||
** See Copyright Notice in lua.h
|
||||
*/
|
||||
|
@ -37,7 +37,7 @@ struct lua_Debug {
|
|||
int linedefined; /* (S) */
|
||||
const char *what; /* (S) `Lua' function, `C' function, Lua `main' */
|
||||
const char *source; /* (S) */
|
||||
char source_id[LUA_IDSIZE]; /* (S) */
|
||||
char short_src[LUA_IDSIZE]; /* (S) */
|
||||
/* private part */
|
||||
struct lua_TObject *_func; /* active function */
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue