aboutsummaryrefslogtreecommitdiff
path: root/ldebug.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2000-10-09 11:47:32 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2000-10-09 11:47:32 -0200
commitd6232a0b2e53d6bd374c762a4f47e7a8799de5d2 (patch)
treeec882867b57b126f4f53fae5bd599768a2635408 /ldebug.c
parentae63a0e692fdc64a2bbafcb6ff10ecbdf3946f88 (diff)
downloadlua-d6232a0b2e53d6bd374c762a4f47e7a8799de5d2.tar.gz
lua-d6232a0b2e53d6bd374c762a4f47e7a8799de5d2.tar.bz2
lua-d6232a0b2e53d6bd374c762a4f47e7a8799de5d2.zip
better treatment for source names
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 1aff2064..04e81ac4 100644
--- a/ldebug.c
+++ b/ldebug.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: ldebug.c,v 1.45 2000/10/05 13:00:17 roberto Exp roberto $ 2** $Id: ldebug.c,v 1.46 2000/10/06 12:45:25 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*/
@@ -193,7 +193,7 @@ static void lua_funcinfo (lua_State *L, lua_Debug *ar, StkId func) {
193 lua_error(L, "value for `lua_getinfo' is not a function"); 193 lua_error(L, "value for `lua_getinfo' is not a function");
194 } 194 }
195 if (cl->isC) { 195 if (cl->isC) {
196 ar->source = "(C)"; 196 ar->source = "=C";
197 ar->linedefined = -1; 197 ar->linedefined = -1;
198 ar->what = "C"; 198 ar->what = "C";
199 } 199 }