[latex3-commits] [git/LaTeX3-latex3-latex3] master: Replace a use of ignore_spaces peek function by peek_spaces_remove (1cdc48d)

Bruno Le Floch bruno at le-floch.fr
Mon Oct 1 14:16:24 CEST 2018


Repository : https://github.com/latex3/latex3
On branch  : master
Link       : https://github.com/latex3/latex3/commit/1cdc48d2957acf03dee474ba959c4d51222e3fae

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

commit 1cdc48d2957acf03dee474ba959c4d51222e3fae
Author: Bruno Le Floch <bruno at le-floch.fr>
Date:   Mon Oct 1 14:16:24 2018 +0200

    Replace a use of ignore_spaces peek function by peek_spaces_remove


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

1cdc48d2957acf03dee474ba959c4d51222e3fae
 l3packages/xparse/xparse.dtx |   19 +++++++++++--------
 1 file changed, 11 insertions(+), 8 deletions(-)

diff --git a/l3packages/xparse/xparse.dtx b/l3packages/xparse/xparse.dtx
index 1e24d65..8fcba73 100644
--- a/l3packages/xparse/xparse.dtx
+++ b/l3packages/xparse/xparse.dtx
@@ -3133,15 +3133,18 @@
       \group_align_safe_begin:
         \tex_escapechar:D = 92 \scan_stop:
         \tl_clear:N \l_@@_v_arg_tl
-        \peek_meaning_remove_ignore_spaces:NTF \c_group_begin_token
+        \peek_spaces_remove:n
           {
-            \group_align_safe_end:
-            \@@_grab_v_bgroup:
-          }
-          {
-            \peek_N_type:TF
-              { \@@_grab_v_aux_test:N }
-              { \@@_grab_v_aux_abort:n { } }
+            \peek_meaning_remove:NTF \c_group_begin_token
+              {
+                \group_align_safe_end:
+                \@@_grab_v_bgroup:
+              }
+              {
+                \peek_N_type:TF
+                  { \@@_grab_v_aux_test:N }
+                  { \@@_grab_v_aux_abort:n { } }
+              }
           }
   }
 \cs_new_protected:Npn \@@_grab_v_group_end:





More information about the latex3-commits mailing list