summaryrefslogtreecommitdiff
path: root/tex/context/base/strc-mar.lua
diff options
context:
space:
mode:
authorMarius <mariausol@gmail.com>2013-03-05 18:00:17 +0200
committerMarius <mariausol@gmail.com>2013-03-05 18:00:17 +0200
commita51f6cf6ee087046a2ae5927ed4edff0a1acec1b (patch)
treea57b34df3ba55e79713ebc52d5cfd3c42dee2c2f /tex/context/base/strc-mar.lua
parent9798ccd13ea7e74f5fd25c5975fbc8d3048ced9d (diff)
downloadcontext-a51f6cf6ee087046a2ae5927ed4edff0a1acec1b.tar.gz
beta 2013.03.05 16:40
Diffstat (limited to 'tex/context/base/strc-mar.lua')
-rw-r--r--tex/context/base/strc-mar.lua5
1 files changed, 2 insertions, 3 deletions
diff --git a/tex/context/base/strc-mar.lua b/tex/context/base/strc-mar.lua
index c7ef2d4e1..1557c1956 100644
--- a/tex/context/base/strc-mar.lua
+++ b/tex/context/base/strc-mar.lua
@@ -22,7 +22,6 @@ local glyph_code = nodecodes.glyph
local hlist_code = nodecodes.hlist
local vlist_code = nodecodes.vlist
-local getattribute = nodes.getattribute
local traversenodes = node.traverse
local texsetattribute = tex.setattribute
local texbox = tex.box
@@ -103,7 +102,7 @@ local function sweep(head,first,last)
for n in traversenodes(head) do
local id = n.id
if id == glyph_code then
- local a = getattribute(n,a_marks)
+ local a = n[a_marks]
if not a then
-- next
elseif first == 0 then
@@ -112,7 +111,7 @@ local function sweep(head,first,last)
last = a
end
elseif id == hlist_code or id == vlist_code then
- local a = getattribute(n,a_marks)
+ local a = n[a_marks]
if not a then
-- next
elseif first == 0 then