summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/l3packages/xparse/xparse-generic.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/l3packages/xparse/xparse-generic.tex')
-rw-r--r--Master/texmf-dist/tex/latex/l3packages/xparse/xparse-generic.tex8
1 files changed, 4 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/latex/l3packages/xparse/xparse-generic.tex b/Master/texmf-dist/tex/latex/l3packages/xparse/xparse-generic.tex
index ef8e0b656aa..22296b4fbae 100644
--- a/Master/texmf-dist/tex/latex/l3packages/xparse/xparse-generic.tex
+++ b/Master/texmf-dist/tex/latex/l3packages/xparse/xparse-generic.tex
@@ -19,14 +19,14 @@
%% and all files in that bundle must be distributed together.
%%
%% File: xparse.dtx
-\cs_if_exist:NT \NewDocumentCommand
- { \file_input_stop: }
\if_charcode:w xx
- \cs_new:Npn \__xparse_file_end_hook: { }
+ \cs_gset:Npn \__xparse_file_end_hook: { }
\else
\ExplSyntaxOn
- \cs_new:Npn \__xparse_file_end_hook: { \ExplSyntaxOff }
+ \cs_gset:Npn \__xparse_file_end_hook: { \ExplSyntaxOff }
\fi:
+\cs_if_exist:NT \NewDocumentCommand
+ { \file_input_stop: }
\tl_new:N \l__xparse_arg_spec_tl
\tl_new:N \l__xparse_args_tl
\tl_new:N \l__xparse_args_i_tl