diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-01-28 14:53:00 -0200 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-01-28 14:53:00 -0200 |
| commit | 1f691a4fcd32b706c79e4c8cbff17c6ae985bc34 (patch) | |
| tree | cbc0e4fafd5fc1367db57f2b2fc8dff5876f1076 /ldebug.c | |
| parent | d6b9f49aaf735f7b17bd0dcafde65ba0f8c57bc7 (diff) | |
| download | lua-1f691a4fcd32b706c79e4c8cbff17c6ae985bc34.tar.gz lua-1f691a4fcd32b706c79e4c8cbff17c6ae985bc34.tar.bz2 lua-1f691a4fcd32b706c79e4c8cbff17c6ae985bc34.zip | |
renaming of some opcodes and fields
Diffstat (limited to 'ldebug.c')
| -rw-r--r-- | ldebug.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: ldebug.c,v 1.5 2000/01/19 12:00:45 roberto Exp roberto $ | 2 | ** $Id: ldebug.c,v 1.6 2000/01/25 13:57:18 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 | */ |
| @@ -94,7 +94,7 @@ static const char *luaG_getname (lua_State *L, const char **name, StkId top) { | |||
| 94 | if (ttype(f) == LUA_T_LCLMARK) | 94 | if (ttype(f) == LUA_T_LCLMARK) |
| 95 | f = protovalue(f); | 95 | f = protovalue(f); |
| 96 | LUA_ASSERT(L, ttype(f) == LUA_T_LMARK, "must be a Lua function"); | 96 | LUA_ASSERT(L, ttype(f) == LUA_T_LMARK, "must be a Lua function"); |
| 97 | *name = tfvalue(f)->strcnst[i]->str; | 97 | *name = tfvalue(f)->kstr[i]->str; |
| 98 | return luaO_typename(f+2); | 98 | return luaO_typename(f+2); |
| 99 | } | 99 | } |
| 100 | } | 100 | } |
