summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/pgf/utilities/pgffor.code.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/generic/pgf/utilities/pgffor.code.tex')
-rw-r--r--Master/texmf-dist/tex/generic/pgf/utilities/pgffor.code.tex10
1 files changed, 3 insertions, 7 deletions
diff --git a/Master/texmf-dist/tex/generic/pgf/utilities/pgffor.code.tex b/Master/texmf-dist/tex/generic/pgf/utilities/pgffor.code.tex
index 4e351c902be..cdb77b31377 100644
--- a/Master/texmf-dist/tex/generic/pgf/utilities/pgffor.code.tex
+++ b/Master/texmf-dist/tex/generic/pgf/utilities/pgffor.code.tex
@@ -1,4 +1,4 @@
-% Copyright 2008 by Till Tantau and Mark Wibrow
+% Copyright 2019 by Till Tantau and Mark Wibrow
%
% This file may be distributed and/or modified
%
@@ -727,7 +727,7 @@
}
\def\pgffor@remember@parse@old#1#2\pgffor@stop{%
- \pgffor@remember@@parse@old#1#2\pgffor@stop as#1(initially )\pgffor@@stop}
+ \pgffor@remember@@parse@old#1#2\pgffor@stop as#1(initially 0)\pgffor@@stop}
\def\pgffor@remember@@parse@old#1#2as#3#4\pgffor@@stop{%
\pgffor@remember@@@parse@old{#1}{#3}#2#4\pgffor@stop\pgffor@@stop}
@@ -735,11 +735,7 @@
\def\pgffor@remember@@@parse@old#1#2#3(initially #4)#5\pgffor@stop#6\pgffor@@stop{%
\pgfutil@append@tomacro{\pgffor@assign@after@code}{\edef#2{#1}}%
\pgfutil@append@tomacro{\pgffor@remember@code}{\noexpand\def\noexpand#2{#2}}%
- \def\pgffor@test{#4}%
- \ifx\pgffor@test\pgfutil@empty%
- \else%
- \pgfutil@append@tomacro{\pgffor@assign@once@code}{\def#2{#4}}%
- \fi%
+ \pgfutil@append@tomacro{\pgffor@assign@once@code}{\def#2{#4}}%
}
\def\pgffor@count@parse#1#2\pgffor@stop{%