[latex3-commits] [git/LaTeX3-latex3-latex2e] early-endlinechar: Set endlinechar earlier in v-type argument parser (95c31d03)

Phelype Oleinik phelype.oleinik at latex-project.org
Thu Apr 13 15:17:37 CEST 2023


Repository : https://github.com/latex3/latex2e
On branch  : early-endlinechar
Link       : https://github.com/latex3/latex2e/commit/95c31d0331edefa7407822da133973b64aa67718

>---------------------------------------------------------------

commit 95c31d0331edefa7407822da133973b64aa67718
Author: user202729 <25191436+user202729 at users.noreply.github.com>
Date:   Sun May 29 18:54:35 2022 +0700

    Set endlinechar earlier in v-type argument parser


>---------------------------------------------------------------

95c31d0331edefa7407822da133973b64aa67718
 base/ltcmd.dtx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/base/ltcmd.dtx b/base/ltcmd.dtx
index c7069196..8e396746 100644
--- a/base/ltcmd.dtx
+++ b/base/ltcmd.dtx
@@ -3331,6 +3331,7 @@
     \tl_set:Nn \l_@@_signature_tl {#1}
     \group_begin:
       \tex_escapechar:D = 92 \scan_stop:
+      \tex_endlinechar:D = `\^^M \scan_stop:
       \tl_clear:N \l_@@_v_arg_tl
       \peek_remove_spaces:n
         {
@@ -3494,7 +3495,6 @@
   {
     \cs_set_eq:NN \do \char_set_catcode_other:N
     \dospecials
-    \tex_endlinechar:D = `\^^M \scan_stop:
     \bool_if:NTF \l_@@_long_bool
       { \char_set_catcode_other:n { \tex_endlinechar:D } }
       { \char_set_catcode_parameter:n { \tex_endlinechar:D } }





More information about the latex3-commits mailing list.