diff options
| -rw-r--r-- | table.c | 8 |
1 files changed, 2 insertions, 6 deletions
| @@ -3,7 +3,7 @@ | |||
| 3 | ** Module to control static tables | 3 | ** Module to control static tables |
| 4 | */ | 4 | */ |
| 5 | 5 | ||
| 6 | char *rcs_table="$Id: table.c,v 2.52 1996/04/22 18:00:37 roberto Exp $"; | 6 | char *rcs_table="$Id: table.c,v 2.53 1996/04/29 18:53:53 roberto Exp roberto $"; |
| 7 | 7 | ||
| 8 | #include "mem.h" | 8 | #include "mem.h" |
| 9 | #include "opcode.h" | 9 | #include "opcode.h" |
| @@ -246,11 +246,7 @@ static void lua_nextvar (void) | |||
| 246 | } | 246 | } |
| 247 | else | 247 | else |
| 248 | { | 248 | { |
| 249 | TaggedString *t = lua_table[next].varname; | 249 | lua_pushstring(lua_table[next].varname->str); |
| 250 | Object name; | ||
| 251 | tag(&name) = LUA_T_STRING; | ||
| 252 | tsvalue(&name) = t; | ||
| 253 | luaI_pushobject(&name); | ||
| 254 | luaI_pushobject(&s_object(next)); | 250 | luaI_pushobject(&s_object(next)); |
| 255 | } | 251 | } |
| 256 | } | 252 | } |
