aboutsummaryrefslogtreecommitdiff
path: root/src/Haddock/Lex.x
diff options
context:
space:
mode:
authorDavid Waern <david.waern@gmail.com>2010-04-07 22:13:27 +0000
committerDavid Waern <david.waern@gmail.com>2010-04-07 22:13:27 +0000
commit2a45b7c00f64ac30b29a8c0baf2e663a41faab70 (patch)
treed64bf3829fe4a29ef3862cc67d810b84f832ea63 /src/Haddock/Lex.x
parent1e78c4dd154b41fa0a50042c97f14d918332d47b (diff)
Fix #75
Add colons to the $ident character set.
Diffstat (limited to 'src/Haddock/Lex.x')
-rw-r--r--src/Haddock/Lex.x2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Haddock/Lex.x b/src/Haddock/Lex.x
index 14843aa3..115646ca 100644
--- a/src/Haddock/Lex.x
+++ b/src/Haddock/Lex.x
@@ -40,7 +40,7 @@ $digit = [0-9]
$hexdigit = [0-9a-fA-F]
$special = [\"\@]
$alphanum = [A-Za-z0-9]
-$ident = [$alphanum \'\_\.\!\#\$\%\&\*\+\/\<\=\>\?\@\\\\\^\|\-\~]
+$ident = [$alphanum \'\_\.\!\#\$\%\&\*\+\/\<\=\>\?\@\\\\\^\|\-\~\:]
:-