diff options
Diffstat (limited to 'lauxlib.c')
-rw-r--r-- | lauxlib.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lauxlib.c,v 1.171 2007/06/22 15:39:34 roberto Exp roberto $ | 2 | ** $Id: lauxlib.c,v 1.172 2007/08/10 12:56:02 roberto Exp roberto $ |
3 | ** Auxiliary functions for building Lua libraries | 3 | ** Auxiliary functions for building Lua libraries |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -99,7 +99,7 @@ static void pushfuncname (lua_State *L, lua_Debug *ar) { | |||
99 | else if (*ar->what == 'm') /* main? */ | 99 | else if (*ar->what == 'm') /* main? */ |
100 | lua_pushfstring(L, "main chunk"); | 100 | lua_pushfstring(L, "main chunk"); |
101 | else if (*ar->what == 'C' || *ar->what == 't') | 101 | else if (*ar->what == 'C' || *ar->what == 't') |
102 | lua_pushliteral(L, " ?"); /* C function or tail call */ | 102 | lua_pushliteral(L, "?"); /* C function or tail call */ |
103 | else | 103 | else |
104 | lua_pushfstring(L, "function <%s:%d>", ar->short_src, ar->linedefined); | 104 | lua_pushfstring(L, "function <%s:%d>", ar->short_src, ar->linedefined); |
105 | } | 105 | } |