summaryrefslogtreecommitdiff
path: root/compiler/cmm/CmmLex.x
diff options
context:
space:
mode:
authorMichael D. Adams <t-madams@microsoft.com>2007-05-10 15:14:54 +0000
committerMichael D. Adams <t-madams@microsoft.com>2007-05-10 15:14:54 +0000
commit5a7a840886f05a1add708708974edae325214ac0 (patch)
tree37a3095d280e0704e2d0e50c361e8d94e13f4f14 /compiler/cmm/CmmLex.x
parentf8ec4ec53ba9377254af4c0c0d3787bbe1e27be3 (diff)
downloadhaskell-5a7a840886f05a1add708708974edae325214ac0.tar.gz
Fixed a minor redundancy in the C-- lexer
Diffstat (limited to 'compiler/cmm/CmmLex.x')
-rw-r--r--compiler/cmm/CmmLex.x2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/cmm/CmmLex.x b/compiler/cmm/CmmLex.x
index cc477964fd..6ae52007bd 100644
--- a/compiler/cmm/CmmLex.x
+++ b/compiler/cmm/CmmLex.x
@@ -46,7 +46,7 @@ $unismall = \x04 -- Trick Alex into handling Unicode. See alexGetChar.
$ascsmall = [a-z \xdf-\xf6 \xf8-\xff]
$small = [$ascsmall $unismall \_]
-$namebegin = [$large $small \_ \. \$ \@]
+$namebegin = [$large $small \. \$ \@]
$namechar = [$namebegin $digit]
@decimal = $digit+