From 1d7bc432f61f221c16ecf96903a56a7e5724a587 Mon Sep 17 00:00:00 2001
From: simonmar <unknown>
Date: Thu, 22 Jul 2004 08:54:06 +0000
Subject: [haddock @ 2004-07-22 08:54:06 by simonmar] Add single quote to
 $ident, so you can say eg. 'foldl'' to refer to foldl' (the longest match
 rule is our friend).

Bug reported by Adrian Hey <ahey@iee.org>
---
 src/HaddockLex.x | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src')

diff --git a/src/HaddockLex.x b/src/HaddockLex.x
index c521046f..06242ec5 100644
--- a/src/HaddockLex.x
+++ b/src/HaddockLex.x
@@ -21,7 +21,7 @@ $ws    = $white # \n
 $digit = [0-9]
 $special =  [\"\@\/]
 $alphanum = [A-Za-z0-9]
-$ident    = [$alphanum \_\.\!\#\$\%\&\*\+\/\<\=\>\?\@\\\\\^\|\-\~]
+$ident    = [$alphanum \'\_\.\!\#\$\%\&\*\+\/\<\=\>\?\@\\\\\^\|\-\~]
 
 :-
 
-- 
cgit v1.2.3