texlive[65203] Build/source/texk/web2c/luatexdir: complementaty patch

commits+lscarso at tug.org commits+lscarso at tug.org
Mon Dec 5 11:28:48 CET 2022


Revision: 65203
          http://tug.org/svn/texlive?view=revision&revision=65203
Author:   lscarso
Date:     2022-12-05 11:28:48 +0100 (Mon, 05 Dec 2022)
Log Message:
-----------
complementaty patch for revision 7551 (lua end compatibility) (H.Hagen)

Revision Links:
--------------
    http://tug.org/svn/texlive?view=revision&revision=7551

Modified Paths:
--------------
    trunk/Build/source/texk/web2c/luatexdir/ChangeLog
    trunk/Build/source/texk/web2c/luatexdir/lua/lnodelib.c
    trunk/Build/source/texk/web2c/luatexdir/luatex_svnversion.h

Modified: trunk/Build/source/texk/web2c/luatexdir/ChangeLog
===================================================================
--- trunk/Build/source/texk/web2c/luatexdir/ChangeLog	2022-12-05 00:47:36 UTC (rev 65202)
+++ trunk/Build/source/texk/web2c/luatexdir/ChangeLog	2022-12-05 10:28:48 UTC (rev 65203)
@@ -1,3 +1,6 @@
+2022-12-05  Luigi Scarso <luigi.scarso at gmail.com> 
+    * complementaty patch for revision 7551 (lua end compatibility) (H.Hagen)
+
 2022-12-03  Luigi Scarso <luigi.scarso at gmail.com> 
     * Track last node in ligature handling (M.Krüger)
 

Modified: trunk/Build/source/texk/web2c/luatexdir/lua/lnodelib.c
===================================================================
--- trunk/Build/source/texk/web2c/luatexdir/lua/lnodelib.c	2022-12-05 00:47:36 UTC (rev 65202)
+++ trunk/Build/source/texk/web2c/luatexdir/lua/lnodelib.c	2022-12-05 10:28:48 UTC (rev 65203)
@@ -1183,13 +1183,13 @@
 {
     halfword n = lua_tointeger(L, 1);
     if ((n) && (type(n) == disc_node)) {
-        nodelib_pushdirect_or_nil(vlink(pre_break(n)));
-        nodelib_pushdirect_or_nil(vlink(post_break(n)));
-        nodelib_pushdirect_or_nil(vlink(no_break(n)));
+        nodelib_pushdirect_or_nil_alink(vlink(pre_break(n)));
+        nodelib_pushdirect_or_nil_alink(vlink(post_break(n)));
+        nodelib_pushdirect_or_nil_alink(vlink(no_break(n)));
         if (lua_isboolean(L, 2) && lua_toboolean(L, 2)) {
-            nodelib_pushdirect_or_nil(tlink(pre_break(n)));
-            nodelib_pushdirect_or_nil(tlink(post_break(n)));
-            nodelib_pushdirect_or_nil(tlink(no_break(n)));
+            nodelib_pushdirect_or_nil_alink(tlink(pre_break(n)));
+            nodelib_pushdirect_or_nil_alink(tlink(post_break(n)));
+            nodelib_pushdirect_or_nil_alink(tlink(no_break(n)));
             return 6;
         }
         return 3;
@@ -4750,11 +4750,11 @@
         if (lua_key_eq(s, subtype)) {
             lua_pushinteger(L, subtype(n));
         } else if (lua_key_eq(s, pre)) {
-            fast_metatable_or_nil(vlink(pre_break(n)));
+            fast_metatable_or_nil_alink(vlink(pre_break(n)));
         } else if (lua_key_eq(s, post)) {
-            fast_metatable_or_nil(vlink(post_break(n)));
+            fast_metatable_or_nil_alink(vlink(post_break(n)));
         } else if (lua_key_eq(s, replace)) {
-            fast_metatable_or_nil(vlink(no_break(n)));
+            fast_metatable_or_nil_alink(vlink(no_break(n)));
         } else if (lua_key_eq(s, penalty)) {
             lua_pushinteger(L, disc_penalty(n));
         } else {

Modified: trunk/Build/source/texk/web2c/luatexdir/luatex_svnversion.h
===================================================================
--- trunk/Build/source/texk/web2c/luatexdir/luatex_svnversion.h	2022-12-05 00:47:36 UTC (rev 65202)
+++ trunk/Build/source/texk/web2c/luatexdir/luatex_svnversion.h	2022-12-05 10:28:48 UTC (rev 65203)
@@ -1,4 +1,4 @@
 #ifndef luatex_svn_revision_h
 #define luatex_svn_revision_h
-#define luatex_svn_revision 7552
+#define luatex_svn_revision 7553
 #endif



More information about the tex-live-commits mailing list.