[latex3-commits] [git/LaTeX3-latex3-latex3] cs-delimited-args: Specify that delimiter should not be a space token (294a93c2b)
PhelypeOleinik
tex.phelype at gmail.com
Fri Feb 28 16:18:02 CET 2020
Repository : https://github.com/latex3/latex3
On branch : cs-delimited-args
Link : https://github.com/latex3/latex3/commit/294a93c2b533d26fb08978cc23392e3fc1fc8c49
>---------------------------------------------------------------
commit 294a93c2b533d26fb08978cc23392e3fc1fc8c49
Author: PhelypeOleinik <tex.phelype at gmail.com>
Date: Fri Feb 28 12:18:02 2020 -0300
Specify that delimiter should not be a space token
>---------------------------------------------------------------
294a93c2b533d26fb08978cc23392e3fc1fc8c49
l3packages/xparse/testfiles/xparse004.tlg | 8 ++++----
l3packages/xparse/testfiles/xparse005.tlg | 2 +-
l3packages/xparse/xparse.dtx | 6 +++---
3 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/l3packages/xparse/testfiles/xparse004.tlg b/l3packages/xparse/testfiles/xparse004.tlg
index cd27f600e..659497734 100644
--- a/l3packages/xparse/testfiles/xparse004.tlg
+++ b/l3packages/xparse/testfiles/xparse004.tlg
@@ -145,7 +145,7 @@ pieces of information were missing.
LaTeX will ignore this entire definition.
> \foo=undefined.
! LaTeX3 Error: Argument delimiter 'oh' for the command '\foo' should be a
-(LaTeX3) single token.
+(LaTeX3) single non-space token.
For immediate help type H <return>.
...
l. ... }
@@ -154,7 +154,7 @@ token is required, LaTeX found 'oh'.
LaTeX will ignore this entire definition.
> \foo=undefined.
! LaTeX3 Error: Argument delimiter '' for the command '\foo' should be a
-(LaTeX3) single token.
+(LaTeX3) single non-space token.
For immediate help type H <return>.
...
l. ... }
@@ -163,7 +163,7 @@ token is required, LaTeX found ''.
LaTeX will ignore this entire definition.
> \foo=undefined.
! LaTeX3 Error: Argument delimiter '{Y}' for the command '\foo' should be a
-(LaTeX3) single token.
+(LaTeX3) single non-space token.
For immediate help type H <return>.
...
l. ... }
@@ -629,7 +629,7 @@ The letter 'abc' does not specify a known argument type.
LaTeX will ignore this entire definition.
undefined
! LaTeX3 Error: Argument delimiter 'abc' for the command '\foo' should be a
-(LaTeX3) single token.
+(LaTeX3) single non-space token.
For immediate help type H <return>.
...
l. ... }
diff --git a/l3packages/xparse/testfiles/xparse005.tlg b/l3packages/xparse/testfiles/xparse005.tlg
index 3cb4465fe..7d8eb41dc 100644
--- a/l3packages/xparse/testfiles/xparse005.tlg
+++ b/l3packages/xparse/testfiles/xparse005.tlg
@@ -300,7 +300,7 @@ that will be defined. The provided argument 'space' contains more than one
token. Perhaps a backslash is missing?
LaTeX will ignore this entire definition.
! LaTeX3 Error: Argument delimiter 'ab' for the command '\testB' should be a
-(LaTeX3) single token.
+(LaTeX3) single non-space token.
For immediate help type H <return>.
...
l. ... }
diff --git a/l3packages/xparse/xparse.dtx b/l3packages/xparse/xparse.dtx
index 18f43242d..106f94b82 100644
--- a/l3packages/xparse/xparse.dtx
+++ b/l3packages/xparse/xparse.dtx
@@ -2043,8 +2043,8 @@
% \end{macro}
%
% \begin{macro}{\@@_single_token_check:n}
-% Checks that the argument is a single token (possibly surrounded by
-% spaces), and aborts the definition otherwise.
+% Checks that the argument is a single (non-space) token (possibly
+% surrounded by spaces), and aborts the definition otherwise.
% \begin{macrocode}
\cs_new_protected:Npn \@@_single_token_check:n #1
{
@@ -4569,7 +4569,7 @@
\__kernel_msg_new:nnnn { xparse } { not-single-token }
{
Argument~delimiter~'#2'~for~the~#1~should~be~
- a~single~token.
+ a~single~non-space~token.
}
{
The~argument~specification~provided~was~not~valid:~in~a~place~
More information about the latex3-commits
mailing list.