diff options
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r-- | Master/texmf-dist/tex/latex/parselines/parselines.sty | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/latex/parselines/parselines.sty b/Master/texmf-dist/tex/latex/parselines/parselines.sty index 62ae077860e..6d69b67b753 100644 --- a/Master/texmf-dist/tex/latex/parselines/parselines.sty +++ b/Master/texmf-dist/tex/latex/parselines/parselines.sty @@ -8,7 +8,7 @@ %% %% This is a generated file. %% -%% parselines : 2010/06/20 v1.0 - parselines : catch file between delimiters or tags +%% parselines : 2010/11/16 v1.2 - parselines : catch file between delimiters or tags %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either @@ -26,7 +26,7 @@ \NeedsTeXFormat{LaTeX2e}% LaTeX 2.09 can't be used (nor non-LaTeX) [2005/12/01]% LaTeX must be 2005/12/01 or younger \ProvidesPackage{parselines} - [2010/08/13 v1.0 - a simple line parser for TeX] + [2010/11/16 v1.2 - a simple line parser for TeX] \ifdefined\globtoks \globtoks\parselin@tk \else \newtoks\parselin@tk \fi @@ -50,7 +50,8 @@ \parselin@tk{}\def\parselin@stack{b}\parselin@Collect@Body }% \CollectEnvir \long\def\parselin@Collect@Body#1\end#2{% - \edef\parselin@stack{\parselin@PushBegins#1\begin\end\expandafter\@gobble\parselin@stack}% + \edef\parselin@stack{\parselin@PushBegins#1\begin\end + \expandafter\@gobble\parselin@stack}% \ifx\parselin@stack\@empty \global\parselin@tk\expandafter{\the\parselin@tk#1}% \aftergroup\parselin@Finish @@ -60,7 +61,8 @@ \expandafter\parselin@Collect@Body % recurse \fi }% \parselin@Collect@Body -\long\def\parselin@PushBegins#1\begin#2{\ifx\end#2\else b\expandafter\parselin@PushBegins\fi} +\long\def\parselin@PushBegins#1\begin#2{% + \ifx\end#2\else b\expandafter\parselin@PushBegins\fi} \expandafter\def\expandafter\parselin@isatoken \expandafter#\expandafter1\string\toks#2\relax{\detokenize{#2}\relax}% \newenvironment{parse lines}[2][] |