diff --git a/ldebug.c b/ldebug.c index 59053ed0..dec67fdc 100644 --- a/ldebug.c +++ b/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"; } diff --git a/luadebug.h b/luadebug.h index f81496e1..c90e93b9 100644 --- a/luadebug.h +++ b/luadebug.h @@ -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 */ };