diff options
Diffstat (limited to 'src/HaddockLex.hs')
-rw-r--r-- | src/HaddockLex.hs | 2 |
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 |