summaryrefslogtreecommitdiff
path: root/tex/context/base/node-fin.lua
diff options
context:
space:
mode:
authorMarius <mariausol@gmail.com>2012-10-20 04:00:13 +0300
committerMarius <mariausol@gmail.com>2012-10-20 04:00:13 +0300
commit1fbec75954e7911bd1546a04af666fc1a3827a54 (patch)
tree16f39836f5e13bd1220a2ffc55e11912dde5bd82 /tex/context/base/node-fin.lua
parentc36e19abdfd15bf6cae6fa379c6ce51f3ef5332d (diff)
downloadcontext-1fbec75954e7911bd1546a04af666fc1a3827a54.tar.gz
beta 2012.10.20 02:07
Diffstat (limited to 'tex/context/base/node-fin.lua')
-rw-r--r--tex/context/base/node-fin.lua24
1 files changed, 12 insertions, 12 deletions
diff --git a/tex/context/base/node-fin.lua b/tex/context/base/node-fin.lua
index 27793716d..e0830de61 100644
--- a/tex/context/base/node-fin.lua
+++ b/tex/context/base/node-fin.lua
@@ -348,10 +348,6 @@ local function process(namespace,attribute,head,inheritance,default) -- one attr
local id = stack.id
if id == glyph_code then
check()
- elseif id == rule_code then
- if stack.width ~= 0 then
- check()
- end
elseif id == glue_code then
local content = stack.leader
if content and check() then
@@ -379,6 +375,10 @@ local function process(namespace,attribute,head,inheritance,default) -- one attr
done = done or ok
end
+ elseif id == rule_code then
+ if stack.width ~= 0 then
+ check()
+ end
end
stack = stack.next
end
@@ -534,10 +534,6 @@ local function selective(namespace,attribute,head,inheritance,default) -- two at
local id = stack.id
if id == glyph_code then
check()
- elseif id == rule_code then
- if stack.width ~= 0 then
- check()
- end
elseif id == glue_code then
local content = stack.leader
if content and check() then
@@ -573,6 +569,10 @@ local function selective(namespace,attribute,head,inheritance,default) -- two at
-- end
end
+ elseif id == rule_code then
+ if stack.width ~= 0 then
+ check()
+ end
end
stack = stack.next
end
@@ -617,10 +617,6 @@ local function stacked(namespace,attribute,head,default) -- no triggering, no in
local id = stack.id
if id == glyph_code then
check()
- elseif id == rule_code then
- if stack.width ~= 0 then
- check()
- end
elseif id == glue_code then
local content = stack.leader
if content and check() then
@@ -652,6 +648,10 @@ local function stacked(namespace,attribute,head,default) -- no triggering, no in
done = done or ok
end
end
+ elseif id == rule_code then
+ if stack.width ~= 0 then
+ check()
+ end
end
stack = stack.next
end