sverb: Don't leak lccode changes.
authorMark Wooding <mdw@distorted.org.uk>
Fri, 26 Oct 2007 15:16:11 +0000 (16:16 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Fri, 26 Oct 2007 15:16:11 +0000 (16:16 +0100)
This broke hyperref in a very confusing and unhelpful way.

sverb.dtx

index f579d4a..d46e842 100644 (file)
--- a/sverb.dtx
+++ b/sverb.dtx
@@ -44,7 +44,7 @@
 %<+split>                [2003/09/04 1.4 Verbatim, but with line breaking]
 % \end{meta-comment}
 %
-% \CheckSum{1009}
+% \CheckSum{1011}
 %% \CharacterTable
 %%  {Upper-case    \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
 %%   Lower-case    \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
 % expand to a space character which is not active.  Neat, huh?
 %
 %    \begin{macrocode}
+\begingroup
 \lccode`\~32
 \lccode`\!32
 \lowercase{%
+  \endgroup
   \def\@isspaces#1{%
     \ifx#1\relax%
       \def\@tempb{\@tempswafalse}%