[latex3-commits] [l3svn] r6311 - Allow processors' args to be catcode 6

noreply at latex-project.org noreply at latex-project.org
Sun Nov 22 18:10:36 CET 2015


Author: bruno
Date: 2015-11-22 18:10:36 +0100 (Sun, 22 Nov 2015)
New Revision: 6311

Modified:
   trunk/l3packages/xparse/xparse.dtx
Log:
Allow processors' args to be catcode 6

This is not useful with any of the built-in processors, but
user-defined processors might make use of it.


Modified: trunk/l3packages/xparse/xparse.dtx
===================================================================
--- trunk/l3packages/xparse/xparse.dtx	2015-11-22 16:57:53 UTC (rev 6310)
+++ trunk/l3packages/xparse/xparse.dtx	2015-11-22 17:10:36 UTC (rev 6311)
@@ -3034,8 +3034,9 @@
 \cs_new_protected:Npn \@@_process_arg:n #1
   {
     \int_incr:N \l_@@_processor_int
-    \cs_set:cpn { @@_processor_ \int_use:N \l_@@_processor_int :n } ##1
-      { #1 {##1} }
+    \cs_set_protected:cpx
+      { @@_processor_ \int_use:N \l_@@_processor_int :n } ##1
+      { \exp_not:n {#1} {##1} }
   }
 %    \end{macrocode}
 % \end{macro}



More information about the latex3-commits mailing list