aboutsummaryrefslogtreecommitdiff
path: root/table.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>1995-10-23 11:53:48 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>1995-10-23 11:53:48 -0200
commitebcf546a551cae37835af5ddf6105e2e97706047 (patch)
treed35cabde0399e65e42424048612cafbc43f908e1 /table.c
parent2b45f8967c459154f0d893c94b069dba182dec00 (diff)
downloadlua-ebcf546a551cae37835af5ddf6105e2e97706047.tar.gz
lua-ebcf546a551cae37835af5ddf6105e2e97706047.tar.bz2
lua-ebcf546a551cae37835af5ddf6105e2e97706047.zip
small changes in the format of debug information.
Diffstat (limited to 'table.c')
-rw-r--r--table.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/table.c b/table.c
index 2cf103c4..6de417a6 100644
--- a/table.c
+++ b/table.c
@@ -3,7 +3,7 @@
3** Module to control static tables 3** Module to control static tables
4*/ 4*/
5 5
6char *rcs_table="$Id: table.c,v 2.34 1995/10/13 15:16:25 roberto Exp roberto $"; 6char *rcs_table="$Id: table.c,v 2.35 1995/10/17 11:58:41 roberto Exp roberto $";
7 7
8#include <string.h> 8#include <string.h>
9 9
@@ -277,12 +277,16 @@ void luaI_funcInfo (struct Object *func, char **filename, char **funcname,
277 { 277 {
278 /* temporario: */ 278 /* temporario: */
279 cfunc = func->value.f; 279 cfunc = func->value.f;
280 *filename = "(?)"; 280 *filename = "(C)";
281 *objname = 0;
282 *linedefined = 0; 281 *linedefined = 0;
283 *funcname = lua_travsymbol(checkfunc); 282 *funcname = lua_travsymbol(checkfunc);
284 if (*funcname == NULL) 283 if (*funcname)
284 *objname = 0;
285 else
286 {
285 *funcname = luaI_travfallbacks(checkfunc); 287 *funcname = luaI_travfallbacks(checkfunc);
288 *objname = "(FB)";
289 }
286 } 290 }
287} 291}
288 292