diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/l3kernel/l3quark.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/l3kernel/l3quark.sty | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/latex/l3kernel/l3quark.sty b/Master/texmf-dist/tex/latex/l3kernel/l3quark.sty index 31102e00c73..3a9a6489663 100644 --- a/Master/texmf-dist/tex/latex/l3kernel/l3quark.sty +++ b/Master/texmf-dist/tex/latex/l3kernel/l3quark.sty @@ -46,12 +46,12 @@ %% %% ----------------------------------------------------------------------- \RequirePackage{l3names} -\GetIdInfo$Id: l3quark.dtx 3014 2011-11-27 06:55:43Z bruno $ +\GetIdInfo$Id: l3quark.dtx 3086 2011-12-22 17:55:46Z bruno $ {L3 Experimental quarks} \ProvidesExplPackage {\ExplFileName}{\ExplFileDate}{\ExplFileVersion}{\ExplFileDescription} \package_check_loaded_expl: -\cs_new_protected_nopar:Npn \quark_new:N #1 { \tl_const:Nn #1 {#1} } +\cs_new_protected:Npn \quark_new:N #1 { \tl_const:Nn #1 {#1} } \quark_new:N \q_nil \quark_new:N \q_mark \quark_new:N \q_no_value @@ -147,6 +147,21 @@ \cs_generate_variant:Nn \quark_if_nil:nF { V , o } \quark_new:N \q_tl_act_mark \quark_new:N \q_tl_act_stop +\tl_new:N \g_scan_marks_tl +\cs_new_protected:Npn \scan_new:N #1 + { + \tl_if_in:NnTF \g_scan_marks_tl { #1 } + { + \msg_kernel_error:nnx { scan } { already-defined } + { \token_to_str:N #1 } + } + { + \tl_gput_right:Nn \g_scan_marks_tl {#1} + \cs_new_eq:NN #1 \scan_stop: + } + } +\scan_new:N \s_stop +\cs_new:Npn \use_none_delimit_by_s_stop:w #1 \s_stop { } %% %% %% End of file `l3quark.sty'. |