[latex3-commits] [git/LaTeX3-latex3-l3build] master: Normalise function calls (see #127) (154e7d0)

Joseph Wright joseph.wright at morningstar2.co.uk
Sun Sep 13 09:47:37 CEST 2020


Repository : https://github.com/latex3/l3build
On branch  : master
Link       : https://github.com/latex3/l3build/commit/154e7d0f1816ee76cd07d19bc6bac15f21bfe7f5

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

commit 154e7d0f1816ee76cd07d19bc6bac15f21bfe7f5
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Sun Sep 13 08:47:37 2020 +0100

    Normalise function calls (see #127)


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

154e7d0f1816ee76cd07d19bc6bac15f21bfe7f5
 CHANGELOG.md      | 4 ++++
 l3build-check.lua | 4 ++++
 2 files changed, 8 insertions(+)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index 012467c..0c5761c 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -7,6 +7,10 @@ this project uses date-based 'snapshot' version identifiers.
 
 ## [Unreleased]
 
+### Changed
+
+- Normal Lua function calls (issue #127)
+
 ## [2020-06-04]
 
 ### Added
diff --git a/l3build-check.lua b/l3build-check.lua
index ff022c6..20cd731 100644
--- a/l3build-check.lua
+++ b/l3build-check.lua
@@ -325,6 +325,10 @@ local function normalize_lua_log(content,luatex)
     if match(line, "^%.+\\mathon$") then
       return line, line
     end
+    -- Deal with Lua function calls
+    if match(line, "^Lua function") then
+      line = gsub(line,"= %d+$","= ...")
+    end
     -- LuaTeX has a flexible output box
     line = gsub(line,"\\box\\outputbox", "\\box255")
     -- LuaTeX identifies spaceskip glue





More information about the latex3-commits mailing list.