diff options
| author | Li Jin <dragon-fly@qq.com> | 2020-09-11 15:31:51 +0800 |
|---|---|---|
| committer | Li Jin <dragon-fly@qq.com> | 2020-09-11 15:31:51 +0800 |
| commit | 85b9ec82247f6e06b802188af35d09d3159625df (patch) | |
| tree | 487152fb9639a74e323f7db962f558ba0514322d /src/lua/ltable.c | |
| parent | dfd4e3b2b2abc0137d26ed3df303a398741bb6a0 (diff) | |
| download | yuescript-85b9ec82247f6e06b802188af35d09d3159625df.tar.gz yuescript-85b9ec82247f6e06b802188af35d09d3159625df.tar.bz2 yuescript-85b9ec82247f6e06b802188af35d09d3159625df.zip | |
update Lua.
Diffstat (limited to 'src/lua/ltable.c')
| -rw-r--r-- | src/lua/ltable.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lua/ltable.c b/src/lua/ltable.c index d7eb69a..5a0d066 100644 --- a/src/lua/ltable.c +++ b/src/lua/ltable.c | |||
| @@ -583,7 +583,7 @@ Table *luaH_new (lua_State *L) { | |||
| 583 | GCObject *o = luaC_newobj(L, LUA_VTABLE, sizeof(Table)); | 583 | GCObject *o = luaC_newobj(L, LUA_VTABLE, sizeof(Table)); |
| 584 | Table *t = gco2t(o); | 584 | Table *t = gco2t(o); |
| 585 | t->metatable = NULL; | 585 | t->metatable = NULL; |
| 586 | t->flags = cast_byte(~0); | 586 | t->flags = cast_byte(maskflags); /* table has no metamethod fields */ |
| 587 | t->array = NULL; | 587 | t->array = NULL; |
| 588 | t->alimit = 0; | 588 | t->alimit = 0; |
| 589 | setnodevector(L, t, 0); | 589 | setnodevector(L, t, 0); |
