Skip to content

Commit

Permalink
/pgf/foreach/count is unscoped pgf-tikz#702
Browse files Browse the repository at this point in the history
  • Loading branch information
hmenke committed Jul 3, 2019
1 parent 283c6b5 commit 7fbaa86
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions tex/generic/pgf/utilities/pgffor.code.tex
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@


\def\pgffor@invokebody{%
\pgffor@begingroup%
\pgffor@begingroup%
\expandafter\pgfutil@in@\expandafter/\expandafter{\pgffor@var}%
\ifpgfutil@in@%
\expandafter\def\expandafter\pgffor@valuerest\expandafter{\pgffor@value//\relax}%
Expand Down Expand Up @@ -520,12 +520,12 @@

\def\pgffor@atendforeach{%
\global\edef\pgffor@remember@expanded{\pgffor@remember@code}%
\endgroup%
\ifx\pgffor@remember@expanded\pgfutil@empty%
\else%
\pgffor@remember@expanded%
\global\let\pgffor@remember@expanded=\pgfutil@empty%
\fi%
\ifx\pgffor@remember@expanded\pgfutil@empty%
\else%
\pgffor@remember@expanded%
\global\let\pgffor@remember@expanded=\pgfutil@empty%
\fi%
\endgroup%
}
\def\pgffor@default@begingroup{%
\begingroup%
Expand Down

0 comments on commit 7fbaa86

Please sign in to comment.