Skip to content

Commit

Permalink
Track changes in the signature parser
Browse files Browse the repository at this point in the history
  • Loading branch information
PhelypeOleinik committed Aug 13, 2021
1 parent 3f677ee commit 48222d2
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
2 changes: 2 additions & 0 deletions l3packages/xparse/testfiles/xparse007.tlg
Expand Up @@ -19,6 +19,8 @@ Defining \__cmd_add_type_u:w on line ...
Defining \__cmd_add_expandable_type_l:w on line ...
Defining \__cmd_add_expandable_type_u:w on line ...
Defining \__cmd_copy_grabber_u:w on line ...
Defining \c__cmd_show_type_u_tl on line ...
Defining \c__cmd_show_type_G_tl on line ...
Defining \__cmd_grab_G:w on line ...
Defining \__cmd_grab_G_long:w on line ...
Defining \__cmd_grab_G_obey_spaces:w on line ...
Expand Down
15 changes: 15 additions & 0 deletions l3packages/xparse/xparse.dtx
Expand Up @@ -1267,6 +1267,21 @@
% \end{macrocode}
% \end{macro}
%
% \subsubsection{Showing the definition of a command}
%
% \begin{macro}{\c_@@_show_type_u_tl,\c_@@_show_type_G_tl}
% Same as for copying, only small bits are missing here. Namely, two
% token lists that tell the \pkg{ltcmd} mechanism how to deal with the
% argument types defined here. Both |G| and |u| are classified
% as~|3|: commands that take a default value. That's not really true
% for~|u|, but it's a close enough approximation to get the output we
% want.
% \begin{macrocode}
\tl_const:Nn \c_@@_show_type_u_tl { 3 }
\tl_const:Nn \c_@@_show_type_G_tl { 3 }
% \end{macrocode}
% \end{macro}
%
% \subsection{Grabbing arguments}
%
% \begin{macro}{\@@_grab_G:w}
Expand Down

0 comments on commit 48222d2

Please sign in to comment.