aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorsimonmar <unknown>2004-07-22 08:54:06 +0000
committersimonmar <unknown>2004-07-22 08:54:06 +0000
commit1d7bc432f61f221c16ecf96903a56a7e5724a587 (patch)
tree8a5428499f53db9b8fbd36287f99fd0ae7959d44 /src
parent46dec6c5afd0273a03ca7526c4b6af8f1fbaca26 (diff)
[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>
Diffstat (limited to 'src')
-rw-r--r--src/HaddockLex.x2
1 files changed, 1 insertions, 1 deletions
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 \'\_\.\!\#\$\%\&\*\+\/\<\=\>\?\@\\\\\^\|\-\~]
:-