summaryrefslogtreecommitdiff
path: root/tex/context/base/typo-brk.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/typo-brk.lua
parent9798ccd13ea7e74f5fd25c5975fbc8d3048ced9d (diff)
downloadcontext-a51f6cf6ee087046a2ae5927ed4edff0a1acec1b.tar.gz
beta 2013.03.05 16:40
Diffstat (limited to 'tex/context/base/typo-brk.lua')
-rw-r--r--tex/context/base/typo-brk.lua7
1 files changed, 2 insertions, 5 deletions
diff --git a/tex/context/base/typo-brk.lua b/tex/context/base/typo-brk.lua
index 726518a85..d6326ebeb 100644
--- a/tex/context/base/typo-brk.lua
+++ b/tex/context/base/typo-brk.lua
@@ -20,9 +20,6 @@ local report_breakpoints = logs.reporter("typesetting","breakpoints")
local nodes, node = nodes, node
local settings_to_array = utilities.parsers.settings_to_array
-local has_attribute = node.has_attribute
-local unset_attribute = node.unset_attribute
-local set_attribute = node.set_attribute
local copy_node = node.copy
local copy_nodelist = node.copy_list
local free_node = node.free
@@ -164,9 +161,9 @@ local function process(namespace,attribute,head)
while start do
local id = start.id
if id == glyph_code then
- local attr = has_attribute(start,a_breakpoints)
+ local attr = start[a_breakpoints]
if attr and attr > 0 then
- unset_attribute(start,a_breakpoints) -- maybe test for subtype > 256 (faster)
+ start[a_breakpoints] = unsetvalue -- maybe test for subtype > 256 (faster)
-- look ahead and back n chars
local data = mapping[attr]
if data then