diff options
Diffstat (limited to 'lundump.c')
-rw-r--r-- | lundump.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lundump.c,v 1.28 2000/04/24 19:32:58 lhf Exp $ | 2 | ** $Id: lundump.c,v 1.20 2000/04/25 16:44:31 roberto Exp roberto $ |
3 | ** load bytecodes from files | 3 | ** load bytecodes from files |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -155,8 +155,7 @@ static void LoadConstants (lua_State* L, Proto* tf, ZIO* Z, int native) | |||
155 | for (i=0; i<n; i++) | 155 | for (i=0; i<n; i++) |
156 | { | 156 | { |
157 | TString* s=LoadString(L,Z); | 157 | TString* s=LoadString(L,Z); |
158 | int isglobal=LoadByte(L,Z); | 158 | LoadByte(L,Z); |
159 | if (isglobal) luaS_assertglobal(L,s); | ||
160 | tf->kstr[i]=s; | 159 | tf->kstr[i]=s; |
161 | } | 160 | } |
162 | } | 161 | } |