From 6add955f34aaabc5a60dcb6578538387846a08a3 Mon Sep 17 00:00:00 2001 From: simonmar Date: Wed, 8 May 2002 13:37:25 +0000 Subject: [haddock @ 2002-05-08 13:37:25 by simonmar] Change the markup for typewriter-font from [...] to @...@. The reasoning is that the '@' symbol is much less likely to be needed than square brackets, and we don't want to have to escape square brackets in code fragments. This will be mildly painful in the short term, but it's better to get the change out of the way as early as possible. --- src/HaddockLex.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/HaddockLex.hs') diff --git a/src/HaddockLex.hs b/src/HaddockLex.hs index 237d13a3..c7506ed3 100644 --- a/src/HaddockLex.hs +++ b/src/HaddockLex.hs @@ -11,7 +11,7 @@ module HaddockLex ( import Char -special = "\'\"/[]" +special = '`' : '\'' : '\"' : '@' : [] data Token = TokPara -- cgit v1.2.3