[latex3-commits] [git/LaTeX3-latex3-latex3] scan-quark: Drop \__quark_get_name:N (6a52562b2)
PhelypeOleinik
tex.phelype at gmail.com
Wed Apr 29 02:39:37 CEST 2020
Repository : https://github.com/latex3/latex3
On branch : scan-quark
Link : https://github.com/latex3/latex3/commit/6a52562b222c4f2c9b2016748f7f6c9de81f5e5b
>---------------------------------------------------------------
commit 6a52562b222c4f2c9b2016748f7f6c9de81f5e5b
Author: PhelypeOleinik <tex.phelype at gmail.com>
Date: Tue Apr 28 21:39:37 2020 -0300
Drop \__quark_get_name:N
>---------------------------------------------------------------
6a52562b222c4f2c9b2016748f7f6c9de81f5e5b
l3kernel/l3quark.dtx | 37 -------------------------------------
1 file changed, 37 deletions(-)
diff --git a/l3kernel/l3quark.dtx b/l3kernel/l3quark.dtx
index c05c53809..e6d451aeb 100644
--- a/l3kernel/l3quark.dtx
+++ b/l3kernel/l3quark.dtx
@@ -856,43 +856,6 @@
% \end{macrocode}
% \end{macro}
%
-% \begin{macro}[EXP]{\@@_get_name:N}
-% \begin{macro}[EXP]{
-% \@@_get_name_aux:w,
-% \@@_remove_underscore:w, \@@_remove_underscore_end:w
-% }
-% \cs{@@_get_name:N} takes a quark and removes the leading |q| and
-% possibly |_|, so that \cs{@@_get_name:N}\cs{q__test_tail} expands
-% to |test_tail|.
-% \begin{macrocode}
-\cs_new:Npn \@@_get_name:N #1
- { \exp_last_unbraced:Nf \@@_get_name_aux:w { \cs_to_str:N #1 } \s_@@ }
-\cs_new:Npn \@@_get_name_aux:w #1 #2 \s_@@
- {
- \if_charcode:w q #1
- \exp_after:wN \use:n
- \else:
- \__kernel_msg_expandable_error:nnf
- { kernel } { invalid-quark } { \c_backslash_str #1 #2 }
- \exp_after:wN \use_none:n
- \fi:
- { \@@_remove_underscore:w #2 \s_@@ }
- }
-\cs_new:Npn \@@_remove_underscore:w #1 #2 \s_@@
- {
- \if_charcode:w _ #1
- \exp_after:wN \@@_remove_underscore:w
- \else:
- \exp_after:wN \@@_remove_underscore_end:w
- \exp_after:wN #1
- \fi:
- #2 \s_@@
- }
-\cs_new:Npn \@@_remove_underscore_end:w #1 \s_@@ {#1}
-% \end{macrocode}
-% \end{macro}
-% \end{macro}
-%
% \begin{macro}[rEXP]{\@@_get_module_name:N}
% \begin{macro}[rEXP]{
% \@@_get_module_name_auxi:w,
More information about the latex3-commits
mailing list.