summaryrefslogtreecommitdiff
path: root/tex/context/base/math-dir.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/math-dir.lua')
-rw-r--r--tex/context/base/math-dir.lua5
1 files changed, 3 insertions, 2 deletions
diff --git a/tex/context/base/math-dir.lua b/tex/context/base/math-dir.lua
index e15522191..c9c2a38dd 100644
--- a/tex/context/base/math-dir.lua
+++ b/tex/context/base/math-dir.lua
@@ -35,6 +35,7 @@ local getattr = nuts.getattr
local setfield = nuts.setfield
local setchar = nuts.setchar
+local setlist = nuts.setlist
local insert_node_before = nuts.insert_before
local insert_node_after = nuts.insert_after
@@ -109,7 +110,7 @@ local function processmath(head)
-- nothing
if id == hlist_code or id == vlist_code then
local list, d = processmath(getlist(current))
- setfield(current,"list",list)
+ setlist(current,list)
if d then
done = true
end
@@ -122,7 +123,7 @@ end
-- too often: needs checking
if id == hlist_code or id == vlist_code then
local list, d = processmath(getlist(current))
- setfield(current,"list",list)
+ setlist(current,list)
if d then
done = true
end