diff options
Diffstat (limited to 'Master/texmf-dist/tex/generic/xkeyval/keyval.tex')
-rw-r--r-- | Master/texmf-dist/tex/generic/xkeyval/keyval.tex | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/Master/texmf-dist/tex/generic/xkeyval/keyval.tex b/Master/texmf-dist/tex/generic/xkeyval/keyval.tex index fbabde0c57c..20b64a84a47 100644 --- a/Master/texmf-dist/tex/generic/xkeyval/keyval.tex +++ b/Master/texmf-dist/tex/generic/xkeyval/keyval.tex @@ -7,7 +7,7 @@ %% xkeyval.dtx (with options: `xkvkeyval') %% %% --------------------------------------- -%% Copyright (C) 2004-2012 Hendri Adriaens +%% Copyright (C) 2004-2014 Hendri Adriaens %% --------------------------------------- %% %% This work may be distributed and/or modified under the @@ -37,23 +37,23 @@ %% Based on keyval.sty. %% \def\XKV@tempa#1{% -\def\KV@@sp@def##1##2{% +\long\def\KV@@sp@def##1##2{% \futurelet\XKV@resa\KV@@sp@d##2\@nil\@nil#1\@nil\relax##1}% -\def\KV@@sp@d{% +\long\def\KV@@sp@d{% \ifx\XKV@resa\@sptoken \expandafter\KV@@sp@b \else \expandafter\KV@@sp@b\expandafter#1% \fi}% -\def\KV@@sp@b#1##1 \@nil{\KV@@sp@c##1}% +\long\def\KV@@sp@b#1##1 \@nil{\KV@@sp@c\@empty##1}% } \XKV@tempa{ } -\def\KV@@sp@c#1\@nil#2\relax#3{\XKV@toks{#1}\edef#3{\the\XKV@toks}} -\def\KV@do#1,{% +\long\def\KV@@sp@c#1\@nil#2\relax#3{\XKV@toks\expandafter{#1}\edef#3{\the\XKV@toks}} +\long\def\KV@do#1,{% \ifx\relax#1\@empty\else \KV@split#1==\relax \expandafter\KV@do\fi} -\def\KV@split#1=#2=#3\relax{% +\long\def\KV@split#1=#2=#3\relax{% \KV@@sp@def\XKV@tempa{#1}% \ifx\XKV@tempa\@empty\else \expandafter\let\expandafter\XKV@tempc @@ -78,9 +78,9 @@ \XKV@tempb\relax \fi} \def\KV@def#1#2[#3]{% - \@namedef{KV@#1@#2@default\expandafter}\expandafter + \long\@namedef{KV@#1@#2@default\expandafter}\expandafter {\csname KV@#1@#2\endcsname{#3}}% - \@namedef{KV@#1@#2}##1} + \long\@namedef{KV@#1@#2}##1} \endinput %% %% End of file `keyval.tex'. |