[latex3-commits] [git/LaTeX3-latex3-l3build] data-references: Normalize lua data references (39c7b3d)

Marcel Fabian Krüger zauguin at gmail.com
Thu Oct 31 19:26:43 CET 2019


Repository : https://github.com/latex3/l3build
On branch  : data-references
Link       : https://github.com/latex3/l3build/commit/39c7b3d25e6b31764d8d0e4c63b72a392f9d54c8

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

commit 39c7b3d25e6b31764d8d0e4c63b72a392f9d54c8
Author: Marcel Fabian Krüger <zauguin at gmail.com>
Date:   Thu Oct 31 19:26:43 2019 +0100

    Normalize lua data references


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

39c7b3d25e6b31764d8d0e4c63b72a392f9d54c8
 l3build-check.lua | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/l3build-check.lua b/l3build-check.lua
index 0f7eff7..fdb1e18 100644
--- a/l3build-check.lua
+++ b/l3build-check.lua
@@ -251,6 +251,9 @@ local function normalize_log(content,engine,errlevels)
     line = gsub(line, "save cache:", "load cache:")
     -- A tidy-up to keep LuaTeX and other engines in sync
     line = gsub(line, utf8_char(127), "^^?")
+    -- Remove lua data reference ids
+    line = gsub(line, "<lua data reference [0-9]+>",
+                      "<lua data reference ...>")
     -- Unicode engines display chars in the upper half of the 8-bit range:
     -- tidy up to match pdfTeX if an ASCII engine is in use
     if next(asciiengines) then





More information about the latex3-commits mailing list