texlive[56877] Build/source/texk/web2c/luatexdir: sync with the

commits+kakuto at tug.org commits+kakuto at tug.org
Sun Nov 8 00:25:55 CET 2020


Revision: 56877
          http://tug.org/svn/texlive?view=revision&revision=56877
Author:   kakuto
Date:     2020-11-08 00:25:55 +0100 (Sun, 08 Nov 2020)
Log Message:
-----------
sync with the upstream

Modified Paths:
--------------
    trunk/Build/source/texk/web2c/luatexdir/lang/texlang.c
    trunk/Build/source/texk/web2c/luatexdir/luatex_svnversion.h

Modified: trunk/Build/source/texk/web2c/luatexdir/lang/texlang.c
===================================================================
--- trunk/Build/source/texk/web2c/luatexdir/lang/texlang.c	2020-11-07 22:02:51 UTC (rev 56876)
+++ trunk/Build/source/texk/web2c/luatexdir/lang/texlang.c	2020-11-07 23:25:55 UTC (rev 56877)
@@ -983,7 +983,18 @@
         halfword hyf_font;
         halfword end_word = r;
         wordstart = r;
-        assert(is_simple_character(wordstart));
+        /*assert(is_simple_character(wordstart));*/
+        if (!(is_simple_character(wordstart))){
+         if (!(is_character(wordstart))) {
+          tex_error("the word doesn't start with a character", NULL);
+         } else if (is_ligature(wordstart)) {
+           tex_error("the word starts with a ligature", NULL);
+         } else if (is_ghost(wordstart)) {
+           tex_error("the word starts with a ghost glyph", NULL);
+         } else {
+           tex_error("the word doesn't start with a simple character", NULL);
+         }          
+        }
         hyf_font = font(wordstart);
         if (hyphen_char(hyf_font) < 0) {
             /*tex For backward compatibility we set: */

Modified: trunk/Build/source/texk/web2c/luatexdir/luatex_svnversion.h
===================================================================
--- trunk/Build/source/texk/web2c/luatexdir/luatex_svnversion.h	2020-11-07 22:02:51 UTC (rev 56876)
+++ trunk/Build/source/texk/web2c/luatexdir/luatex_svnversion.h	2020-11-07 23:25:55 UTC (rev 56877)
@@ -1 +1 @@
-#define luatex_svn_revision 7384
+#define luatex_svn_revision 7385



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