summaryrefslogtreecommitdiff
path: root/macros/generic/tokcycle/tokcycle.tex
diff options
context:
space:
mode:
Diffstat (limited to 'macros/generic/tokcycle/tokcycle.tex')
-rw-r--r--macros/generic/tokcycle/tokcycle.tex18
1 files changed, 12 insertions, 6 deletions
diff --git a/macros/generic/tokcycle/tokcycle.tex b/macros/generic/tokcycle/tokcycle.tex
index d0819da2cf..50b9dd4cc9 100644
--- a/macros/generic/tokcycle/tokcycle.tex
+++ b/macros/generic/tokcycle/tokcycle.tex
@@ -1,7 +1,7 @@
\def\tcname {tokcycle}
-\def\tcver {1.11}
+\def\tcver {1.12}
%
-\def\tcdate {2020/02/04}
+\def\tcdate {2020/02/11}
%
% Author : Steven B Segletes, Christian Tellechea (contributor)
% Maintainer : Steven B Segletes
@@ -46,8 +46,8 @@
\tc@deftok\tc@sptoken{ }
\expandafter\def\expandafter\tc@absorbSpace\space{}
\def\tc@ifempty#1{\tc@testxifx{\expandafter\relax\detokenize{#1}\relax}}
-\def\tc@defx#1#2{\tc@earg{\def\expandafter#1}{#2}}
-\long\def\tc@earg#1#2{\expandafter#1\expandafter{#2}}
+\def\tc@defx#1{\tc@earg{\def\expandafter#1}}
+\long\def\tc@earg#1{\expandafter#1\expandafter}
\long\def\tc@xarg#1#2{\tc@earg#1{\expanded{#2}}}
\long\def\tc@exfirst#1#2{#1}
\long\def\tc@exsecond#1#2{#2}
@@ -136,7 +136,7 @@
\def\tc@trapescape#1{\tctestifx{\@tcEscapeptr#1}}
% TRAP CAT-6
\long\def\trapcatSIX#1{\tctestifcatnx#1\relax{}{\trapcatSIXb#1}}
-\def\trapcatSIXb#1{\tc@earg\tctestifcatnx\sv@hash#1{\catSIXtrue\trapcatSIXc#1}{}}
+\def\trapcatSIXb#1{\expandafter\tctestifcatnx\sv@hash#1{\catSIXtrue\trapcatSIXc#1}{}}
\def\trapcatSIXc#1{\tctestifnum{\count@stringtoks{#1}>1}{\tc@defx\six@str{\string#1}%
\global\let\implicitsixtok\six@str\tc@tok{\implicitsixtok}}%
{\tc@tok\expandafter{\string#1}\tctestifnum{\number\catcode`#1=6}%
@@ -217,4 +217,10 @@ v1.1 2019/9/27
v1.11 2020/02/04
- Fixed bug in \can@absorb@@ macro, which prevented the proper absorption/
- handling of the = token. \ No newline at end of file
+ handling of the = token.
+
+v1.12 2020/02/11
+ - Documentation correction: \tokcycleenvironment, not \tokencycleenvironment
+ - Documentation correction: misspelling in tokcycle-examples.tex
+ - Redefined \tc@defx and \tc@earg to omit #2 as part of definition
+ - Corrected \trapcatSIXb definition to account for revised \tc@earg definition. \ No newline at end of file