summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/parselines
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-11-18 00:31:46 +0000
committerKarl Berry <karl@freefriends.org>2010-11-18 00:31:46 +0000
commit57a41168bf79aad7fe801d13fe653640dab69686 (patch)
tree420c3d2d83a3a89ce3677d4e1370e43e83b945fa /Master/texmf-dist/tex/latex/parselines
parent82363687abbffeaa2b8e9fe3ea988d92702a09b1 (diff)
parselines (16nov10)
git-svn-id: svn://tug.org/texlive/trunk@20468 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/parselines')
-rw-r--r--Master/texmf-dist/tex/latex/parselines/parselines.sty10
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][]