[latex3-commits] [git/LaTeX3-latex3-l3build] lua113: No more off-by-one error in recent LuaTeX (567c258)
Marcel Fabian Krüger
tex at 2krueger.de
Fri Apr 2 19:30:43 CEST 2021
Repository : https://github.com/latex3/l3build
On branch : lua113
Link : https://github.com/latex3/l3build/commit/567c258a96c592c0ac51f1b3a63aedefdab359ae
>---------------------------------------------------------------
commit 567c258a96c592c0ac51f1b3a63aedefdab359ae
Author: Marcel Fabian Krüger <tex at 2krueger.de>
Date: Fri Apr 2 19:30:43 2021 +0200
No more off-by-one error in recent LuaTeX
>---------------------------------------------------------------
567c258a96c592c0ac51f1b3a63aedefdab359ae
CHANGELOG.md | 2 ++
l3build-check.lua | 2 +-
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 058b604..57cf0c9 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -15,6 +15,8 @@ this project uses date-based 'snapshot' version identifiers.
- the home texmf directory is now created before use
- the yyyy-mm-dd format of epoch caused a crashed
+- no longer expect LuaTeX line lengths to be off by a character for new
+ LuaTeX versions
## [2020-06-04]
diff --git a/l3build-check.lua b/l3build-check.lua
index 8123947..68c4cc9 100644
--- a/l3build-check.lua
+++ b/l3build-check.lua
@@ -102,7 +102,7 @@ end
-- the 'business' part from the tests and removes system-dependent stuff
local function normalize_log(content,engine,errlevels)
local maxprintline = maxprintline
- if match(engine,"^lua") or match(engine,"^harf") then
+ if (match(engine,"^lua") or match(engine,"^harf")) and luatex_version < 113 then
maxprintline = maxprintline + 1 -- Deal with an out-by-one error
end
local function killcheck(line)
More information about the latex3-commits
mailing list.