diff options
author | Marius <mariausol@gmail.com> | 2012-06-28 11:40:14 +0300 |
---|---|---|
committer | Marius <mariausol@gmail.com> | 2012-06-28 11:40:14 +0300 |
commit | bd618c1d655bd4f520911d1db7d5fa1e0d0cf82d (patch) | |
tree | 906652ee4375803fa98e805e21bed36fac826dd5 /tex/context/base/syst-aux.mkiv | |
parent | 5bb7beb9db0bdf798ab7f2f63a03a354503f3081 (diff) | |
download | context-bd618c1d655bd4f520911d1db7d5fa1e0d0cf82d.tar.gz |
beta 2012.06.28 10:00
Diffstat (limited to 'tex/context/base/syst-aux.mkiv')
-rw-r--r-- | tex/context/base/syst-aux.mkiv | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/tex/context/base/syst-aux.mkiv b/tex/context/base/syst-aux.mkiv index 9c8301f70..092b5b227 100644 --- a/tex/context/base/syst-aux.mkiv +++ b/tex/context/base/syst-aux.mkiv @@ -1824,7 +1824,7 @@ \def\syst_helpers_check_parameters#1=#2#3\_e_o_s_ {\if#2@\parametersfalse\else\parameterstrue\fi} -\def\checkparameters[#1]% +\unexpanded\def\checkparameters[#1]% {\syst_helpers_get_empty_parameters#1=@@\_e_o_s_} %D \macros @@ -1861,15 +1861,18 @@ \def\syst_helpers_get_comma_list_size#1% {\advance\commalistcounter\plusone} -\def\getcommalistsize#1]% don't loose [{#1}] +\unexpanded\def\getcommalistsize#1]% don't loose [{#1}] {\commalistcounter\zerocount - \processcommalist#1]\syst_helpers_get_empty_parameters % was [{#1}] + \processcommalist#1]\syst_helpers_get_comma_list_size % was [{#1}] \edef\commalistsize{\the\commalistcounter}} -\def\getcommacommandsize[#1]% - {\edef\commacommand{#1}% - \scratchtoks\expandafter{\expandafter[\commacommand]}% - \expandafter\getcommalistsize\the\scratchtoks } +% \def\getcommacommandsize[#1]% +% {\edef\commacommand{#1}% +% \scratchtoks\expandafter{\expandafter[\commacommand]}% +% \expandafter\getcommalistsize\the\scratchtoks } + +\unexpanded\def\getcommacommandsize[#1]% + {\normalexpanded{\getcommalistsize[#1]}} \def\syst_helpers_get_from_comma_list#1% {\advance\commalistcounter \minusone |