[latex3-commits] [git/LaTeX3-latex3-luaotfload] dev: Fix code that is no longer dead (1bb3c1a)

Marcel Fabian Krüger tex at 2krueger.de
Fri Jun 5 16:22:43 CEST 2020


Repository : https://github.com/latex3/luaotfload
On branch  : dev
Link       : https://github.com/latex3/luaotfload/commit/1bb3c1acc040d748907a2619d58529c157cfc37e

>---------------------------------------------------------------

commit 1bb3c1acc040d748907a2619d58529c157cfc37e
Author: Marcel Fabian Krüger <tex at 2krueger.de>
Date:   Fri Jun 5 16:22:43 2020 +0200

    Fix code that is no longer dead


>---------------------------------------------------------------

1bb3c1acc040d748907a2619d58529c157cfc37e
 src/luaotfload-notdef.lua | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/luaotfload-notdef.lua b/src/luaotfload-notdef.lua
index 7182eb8..4965110 100644
--- a/src/luaotfload-notdef.lua
+++ b/src/luaotfload-notdef.lua
@@ -34,6 +34,8 @@ local setfont            = node.direct.setfont
 local traverse_char      = node.direct.traverse_char
 local traverse_id        = node.direct.traverse_id
 local setchar            = node.direct.setchar
+local setdisc            = node.direct.setdisc
+local getdisc            = node.direct.getdisc
 local getwidth           = node.direct.getwidth
 local setkern            = node.direct.setkern
 local setattributelist   = node.direct.setattributelist
@@ -197,7 +199,7 @@ local push, pop do
         head = node.direct.remove(head, n)
         l[#l+1] = n
       elseif id == disc_id then
-        local pre, post, replace = node.direct.getdisc(n)
+        local pre, post, replace = getdisc(n)
         for nn in node.direct.traverse(pre) do
           if checkprop(nn) then
             local after
@@ -217,7 +219,7 @@ local push, pop do
             l[#l+1] = {nn, n, 'replace'}
           end
         end
-        node.direct.setdisc(n, pre, post, replace)
+        setdisc(n, pre, post, replace)
       end
     end
     return head





More information about the latex3-commits mailing list.