aboutsummaryrefslogtreecommitdiff
path: root/lundump.c
diff options
context:
space:
mode:
Diffstat (limited to 'lundump.c')
-rw-r--r--lundump.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/lundump.c b/lundump.c
index 45e0b637..1fa322f6 100644
--- a/lundump.c
+++ b/lundump.c
@@ -157,23 +157,23 @@ static void LoadConstants (LoadState *S, Proto *f) {
157 TValue *o = &f->k[i]; 157 TValue *o = &f->k[i];
158 int t = LoadByte(S); 158 int t = LoadByte(S);
159 switch (t) { 159 switch (t) {
160 case LUA_TNIL: 160 case LUA_VNIL:
161 setnilvalue(o); 161 setnilvalue(o);
162 break; 162 break;
163 case LUA_TFALSE: 163 case LUA_VFALSE:
164 setbfvalue(o); 164 setbfvalue(o);
165 break; 165 break;
166 case LUA_TTRUE: 166 case LUA_VTRUE:
167 setbtvalue(o); 167 setbtvalue(o);
168 break; 168 break;
169 case LUA_TNUMFLT: 169 case LUA_VNUMFLT:
170 setfltvalue(o, LoadNumber(S)); 170 setfltvalue(o, LoadNumber(S));
171 break; 171 break;
172 case LUA_TNUMINT: 172 case LUA_VNUMINT:
173 setivalue(o, LoadInteger(S)); 173 setivalue(o, LoadInteger(S));
174 break; 174 break;
175 case LUA_TSHRSTR: 175 case LUA_VSHRSTR:
176 case LUA_TLNGSTR: 176 case LUA_VLNGSTR:
177 setsvalue2n(S->L, o, LoadString(S)); 177 setsvalue2n(S->L, o, LoadString(S));
178 break; 178 break;
179 default: lua_assert(0); 179 default: lua_assert(0);