aboutsummaryrefslogtreecommitdiff
path: root/src/HaddockLex.hs
diff options
context:
space:
mode:
authorsimonmar <unknown>2002-06-03 13:20:00 +0000
committersimonmar <unknown>2002-06-03 13:20:00 +0000
commit14b36807eb6ebe36423102ef5b788773128ada81 (patch)
tree470c81670123cc4e040c50fd78a95e779fd41b49 /src/HaddockLex.hs
parent613f21e3e09e2f9c9b6c24490b192811b6392b21 (diff)
[haddock @ 2002-06-03 13:20:00 by simonmar]
Fix linking to qualified names again (thanks to Sven Panne for pointing out the bug).
Diffstat (limited to 'src/HaddockLex.hs')
-rw-r--r--src/HaddockLex.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/HaddockLex.hs b/src/HaddockLex.hs
index 000d62f0..df5cebb5 100644
--- a/src/HaddockLex.hs
+++ b/src/HaddockLex.hs
@@ -27,7 +27,7 @@ data Token
isSpecial c = c `elem` ['\"', '@', '/']
isSingleQuote c = c `elem` ['\'', '`']
-isIdent c = isAlphaNum c || c == '_'
+isIdent c = isAlphaNum c || c == '_' || c == '.'
-- simple finite-state machine for tokenising the doc string