summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsimonm <unknown>1997-09-24 16:06:34 +0000
committersimonm <unknown>1997-09-24 16:06:34 +0000
commit2bc355fa50e75e512ddd887bd5567aba184f3f0a (patch)
tree91f385d68d505e1138dfc8a85aeea81d9506c154
parentc610efe811e9f57d7fd09834e561c9a5e6e64d57 (diff)
downloadhaskell-2bc355fa50e75e512ddd887bd5567aba184f3f0a.tar.gz
[project @ 1997-09-24 16:06:34 by simonm]
couple of minor patches to verbatim from Simon P.J.'s copy.
-rw-r--r--glafp-utils/verbatim/verbatim.lex4
1 files changed, 2 insertions, 2 deletions
diff --git a/glafp-utils/verbatim/verbatim.lex b/glafp-utils/verbatim/verbatim.lex
index bafcfab577..bac87cc45f 100644
--- a/glafp-utils/verbatim/verbatim.lex
+++ b/glafp-utils/verbatim/verbatim.lex
@@ -42,9 +42,9 @@ miranda ([0-9]+(\-([0-9]+)?)?)?>
<VERB>\{ { printf ("{\\char'173}"); }
<VERB>\} { printf ("{\\char'175}"); }
-<NORM>^@\n { printf( "\\begin{verbatim}\n" );
+<NORM>^@{sp}\n { printf( "\\begin{verbatim}\n" );
PUSH NORM; BEGIN VERBATIMSIM; }
-<VERBATIMSIM>^@\n { printf( "\\end{verbatim}\n" ); POP; }
+<VERBATIMSIM>^@{sp}\n { printf( "\\end{verbatim}\n" ); POP; }
<NORM>\\"begin{verbatim}" { printf( "\\begin{verbatim}" );
PUSH NORM; BEGIN VERBATIM; }