Fix shallow_literal/shallow_parsed not returning named tuples for the WML tags
This commit is contained in:
parent
9eefcda17a
commit
c143dfdfeb
1 changed files with 1 additions and 1 deletions
|
@ -253,7 +253,7 @@ static int impl_vconfig_get(lua_State *L)
|
||||||
}
|
}
|
||||||
for (int j = 1; i != i_end; ++i, ++j)
|
for (int j = 1; i != i_end; ++i, ++j)
|
||||||
{
|
{
|
||||||
lua_createtable(L, 2, 0);
|
luaW_push_namedtuple(L, {"tag", "contents"});
|
||||||
lua_pushstring(L, i.get_key().c_str());
|
lua_pushstring(L, i.get_key().c_str());
|
||||||
lua_rawseti(L, -2, 1);
|
lua_rawseti(L, -2, 1);
|
||||||
luaW_pushvconfig(L, i.get_child());
|
luaW_pushvconfig(L, i.get_child());
|
||||||
|
|
Loading…
Add table
Reference in a new issue