[latex3-commits] [git/LaTeX3-latex3-l3build] master: Back out Lua stack changes (7287420)
Joseph Wright
joseph.wright at morningstar2.co.uk
Thu Jun 27 11:25:26 CEST 2019
Repository : https://github.com/latex3/l3build
On branch : master
Link : https://github.com/latex3/l3build/commit/7287420ca31ecda8e31fad9b819b540f0e2f3108
>---------------------------------------------------------------
commit 7287420ca31ecda8e31fad9b819b540f0e2f3108
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date: Thu Jun 27 10:25:20 2019 +0100
Back out Lua stack changes
For LaTeX2e, we want to hold this off for a while.
>---------------------------------------------------------------
7287420ca31ecda8e31fad9b819b540f0e2f3108
CHANGELOG.md | 5 +++++
l3build-check.lua | 4 +---
2 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 83c80e9..dc89cd1 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -7,6 +7,11 @@ this project uses date-based 'snapshot' version identifiers.
## [Unreleased]
+### Changed
+
+- Back out change for normalisation of LuaTeX v1.10 stack information
+ (timing issue: will reintroduce later)
+
### Fixed
- Correct test for LuaTeX (see #93)
diff --git a/l3build-check.lua b/l3build-check.lua
index 903a6c1..9fcf988 100644
--- a/l3build-check.lua
+++ b/l3build-check.lua
@@ -123,9 +123,7 @@ local function normalize_log(content,engine,errlevels)
-- do this before wrapping lines
line = gsub(line, "^l%.%d+ ", "l. ...")
-- Also from lua stack traces.
- for str,_ in pairs({"field","function","upvalue"}) do
- line = gsub(line, "lua:%d+: in " .. str, "lua:...: in " .. str)
- end
+ line = gsub(line, "lua:%d+: in function", "lua:...: in function")
-- Allow for wrapped lines: preserve the content and wrap
-- Skip lines that have an explicit marker for truncation
if len(line) == maxprintline and
More information about the latex3-commits
mailing list