summaryrefslogtreecommitdiff
path: root/source/luametatex/source/lua/lmtnodelib.c
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2022-10-21 21:37:10 +0200
committerContext Git Mirror Bot <phg@phi-gamma.net>2022-10-21 21:37:10 +0200
commit5d31142615a7efaf833be860e412995b42bf9c3c (patch)
treef2c6470f09089ef3005659783b834989ee7e1989 /source/luametatex/source/lua/lmtnodelib.c
parentc0c1dea1daf21f2c21f6d8094f54f67138998baf (diff)
downloadcontext-5d31142615a7efaf833be860e412995b42bf9c3c.tar.gz
2022-10-21 21:13:00
Diffstat (limited to 'source/luametatex/source/lua/lmtnodelib.c')
-rw-r--r--source/luametatex/source/lua/lmtnodelib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/luametatex/source/lua/lmtnodelib.c b/source/luametatex/source/lua/lmtnodelib.c
index 7d9d7bcbe..eb29611e2 100644
--- a/source/luametatex/source/lua/lmtnodelib.c
+++ b/source/luametatex/source/lua/lmtnodelib.c
@@ -2997,7 +2997,7 @@ static int nodelib_direct_getdata(lua_State *L)
}
case mark_node:
if (lua_toboolean(L, 2)) {
- lmt_token_list_to_luastring(L, mark_ptr(n), 0, 0);
+ lmt_token_list_to_luastring(L, mark_ptr(n), 0, 0, 0);
} else {
lmt_token_list_to_lua(L, mark_ptr(n));
}
@@ -6555,7 +6555,7 @@ static int nodelib_common_getfield(lua_State *L, int direct, halfword n)
lua_pushinteger(L, mark_index(n));
} else if (lua_key_eq(s, data) || lua_key_eq(s, mark)) {
if (lua_toboolean(L, 3)) {
- lmt_token_list_to_luastring(L, mark_ptr(n), 0, 0);
+ lmt_token_list_to_luastring(L, mark_ptr(n), 0, 0, 0);
} else {
lmt_token_list_to_lua(L, mark_ptr(n));
}