aboutsummaryrefslogtreecommitdiff
path: root/ldebug.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2000-09-12 15:38:02 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2000-09-12 15:38:02 -0300
commit024ed4218f923194c97bf1c8fccba4f598296ccb (patch)
tree3b81ada7c3f3a7cf6751eae58e3445095f7c1112 /ldebug.c
parentc1f725ba4a49641b0e245e0608132baa092624b6 (diff)
downloadlua-024ed4218f923194c97bf1c8fccba4f598296ccb.tar.gz
lua-024ed4218f923194c97bf1c8fccba4f598296ccb.tar.bz2
lua-024ed4218f923194c97bf1c8fccba4f598296ccb.zip
better name for source_id (short_src)
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 59053ed0..dec67fdc 100644
--- a/ldebug.c
+++ b/ldebug.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: ldebug.c,v 1.39 2000/08/31 13:29:12 roberto Exp roberto $ 2** $Id: ldebug.c,v 1.40 2000/09/11 20:29:27 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*/
@@ -195,7 +195,7 @@ static void lua_funcinfo (lua_Debug *ar, StkId func) {
195 default: 195 default:
196 LUA_INTERNALERROR("invalid `func' value"); 196 LUA_INTERNALERROR("invalid `func' value");
197 } 197 }
198 luaO_chunkid(ar->source_id, ar->source, sizeof(ar->source_id)); 198 luaO_chunkid(ar->short_src, ar->source, sizeof(ar->short_src));
199 if (ar->linedefined == 0) 199 if (ar->linedefined == 0)
200 ar->what = "main"; 200 ar->what = "main";
201} 201}