[latex3-commits] [l3svn] r6445 - No need for an alternate escape character in l3doc
noreply at latex-project.org
noreply at latex-project.org
Fri Mar 25 05:30:31 CET 2016
Author: bruno
Date: 2016-03-25 05:30:31 +0100 (Fri, 25 Mar 2016)
New Revision: 6445
Modified:
trunk/l3kernel/l3doc.dtx
Log:
No need for an alternate escape character in l3doc
Probably in the past the backslash was given catcode 12 so some
other character (the slash) needed to have catcode 0. Since the
code was changed to use \lowercase it is best to stick with
backslash everywhere as an escape character.
Modified: trunk/l3kernel/l3doc.dtx
===================================================================
--- trunk/l3kernel/l3doc.dtx 2016-03-24 12:21:25 UTC (rev 6444)
+++ trunk/l3kernel/l3doc.dtx 2016-03-25 04:30:31 UTC (rev 6445)
@@ -2973,7 +2973,6 @@
% before and after the assignment). Is this a waste?
% \begin{macrocode}
\group_begin:
- \char_set_catcode_escape:N \/
\char_set_catcode_other:N \^^A
\char_set_catcode_active:N \^^S
\char_set_catcode_active:N \^^B
@@ -2989,7 +2988,7 @@
\group_end:
\cs_set_protected:Npn \xmacro at code
#1 ^^A ^^S^^S^^S^^S ^^Bend ^^Lmacrocode^^R
- { \@@_xmacro_code:n {#1} /end{macrocode} }
+ { \@@_xmacro_code:n {#1} \end{macrocode} }
}
\group_begin:
\char_set_catcode_active:N \<
More information about the latex3-commits
mailing list