[latex3-commits] [latex3/latex2e] latexlab/rcb: luatex errors look slightly different (5990100b)
github at latex-project.org
github at latex-project.org
Wed Jul 26 11:39:18 CEST 2023
Repository : https://github.com/latex3/latex2e
On branch : latexlab/rcb
Link : https://github.com/latex3/latex2e/commit/5990100bac3956b5cf55959b574211210f068683
>---------------------------------------------------------------
commit 5990100bac3956b5cf55959b574211210f068683
Author: Frank Mittelbach <frank.mittelbach at latex-project.org>
Date: Wed Jul 26 11:39:18 2023 +0200
luatex errors look slightly different
>---------------------------------------------------------------
5990100bac3956b5cf55959b574211210f068683
required/latex-lab/testfiles/socket-001.luatex.tlg | 42 ++++++++++++++++++++++
1 file changed, 42 insertions(+)
diff --git a/required/latex-lab/testfiles/socket-001.luatex.tlg b/required/latex-lab/testfiles/socket-001.luatex.tlg
new file mode 100644
index 00000000..b1dc468e
--- /dev/null
+++ b/required/latex-lab/testfiles/socket-001.luatex.tlg
@@ -0,0 +1,42 @@
+This is a generated file for the l3build validation system.
+Don't change this file in any respect.
+! Sockets can only be declared at top-level!.
+<argument> ...ge {Sockets can only be declared at top-level!}
+l. ...{ \NewSocket{foo}{0}
+ } % fail
+This error message was generated by an \errmessage
+command, so I can't give any explicit help.
+Pretend that you're Hercule Poirot: Examine all clues,
+and deduce the truth by order and method.
+! Socket 'foo' already declared!.
+<argument> \errmessage {Socket 'foo' already declared!}
+l. ...\NewSocket{foo}{0}
+ % fail
+(That was another \errmessage.)
+! Plug 'undefined' for the socket 'foo' undeclared!.
+<argument> ...g 'undefined' for the socket 'foo' undeclared!}
+l. ...\AssignSocketPlug{foo}{undefined}
+ %fail
+(That was another \errmessage.)
+! Plug 'default' for socket 'foo' already declared!.
+<argument> ...g 'default' for socket 'foo' already declared!}
+l. ......{default}{\typeout{A socket plug redefined}}
+ % fail
+(That was another \errmessage.)
+----------------------
+Socket foo:
+ number of arguments = 0
+ available plugs = noop, default
+ current plug = noop
+ definition = \protected\long macro:->\typeout {modified noop}
+! .
+\ShowSocket #1->\socket_log:n {#1}\errmessage {}
+l. ...\ShowSocket {foo}
+(That was another \errmessage.)
+----------------------
+A socket plug
+----------------------
+modified noop
+----------------------
+A socket plug
+----------------------
More information about the latex3-commits
mailing list.