summaryrefslogtreecommitdiff
path: root/tex/context/base/mkxl/luat-log.lmt
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2021-12-30 19:47:30 +0100
committerContext Git Mirror Bot <phg@phi-gamma.net>2021-12-30 19:47:30 +0100
commit9b1c3470a7a222ef9ae20106d750c4a0127819a7 (patch)
tree746f1a65eb69b87ea33e07ab4730540a8a8d50c9 /tex/context/base/mkxl/luat-log.lmt
parentcefe8d703dd66048fa9d259b697609bd539a7bce (diff)
downloadcontext-9b1c3470a7a222ef9ae20106d750c4a0127819a7.tar.gz
2021-12-30 19:03:00
Diffstat (limited to 'tex/context/base/mkxl/luat-log.lmt')
-rw-r--r--tex/context/base/mkxl/luat-log.lmt15
1 files changed, 15 insertions, 0 deletions
diff --git a/tex/context/base/mkxl/luat-log.lmt b/tex/context/base/mkxl/luat-log.lmt
index 2b5b60dd9..dd6c1b990 100644
--- a/tex/context/base/mkxl/luat-log.lmt
+++ b/tex/context/base/mkxl/luat-log.lmt
@@ -626,6 +626,11 @@ if package.helpers.report then
package.helpers.report = logs.reporter("package loader") -- when used outside mtxrun
end
+-- logs.errors=missing references,missing characters
+-- logs.errors=characters
+-- logs.errors=missing
+-- logs.errors=*
+
do
local finalactions = { }
@@ -641,6 +646,9 @@ do
loggingerrors = v
if type(v) == "string" then
fatalerrors = settings_to_hash(v)
+ for k, v in next, fatalerrors do
+ fatalerrors[k] = string.topattern(k)
+ end
else
fatalerrors = { }
end
@@ -704,6 +712,13 @@ do
end
if fatalerrors[w] then
possiblefatal[w] = true
+ else
+ for k, v in next, fatalerrors do
+ if find(w,v) then
+ possiblefatal[w] = true
+ break
+ end
+ end
end
return startlogging("terminal",r,w,...)
end